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:
parent
eaf55b8dfd
commit
dfd2200771
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue