1
0
Fork 0

Fix out of bounds access (SF bug 3156587, thanks danoon for reporting). The unused byte in the 32-bit color value of the hardware mouse cursor pixels was affected.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3668
This commit is contained in:
Ralf Grillenberger 2011-01-19 17:22:13 +00:00
parent eaf55b8dfd
commit dfd2200771

View file

@ -173,8 +173,8 @@ typedef struct {
Bit8u curmode;
Bit16u originx, originy;
Bit8u fstackpos, bstackpos;
Bit8u forestack[3];
Bit8u backstack[3];
Bit8u forestack[4];
Bit8u backstack[4];
Bit16u startaddr;
Bit8u posx, posy;
Bit8u mc[64][64];