mirror of https://github.com/PCSX2/pcsx2.git
sio: increase buffer to avoid overflow
memcardWrite will use "sio.buf[data + 5] = mcd->term;" and data is 8 bits Reported by coverity
This commit is contained in:
parent
aa4b2d9f3a
commit
270d7191ce
|
@ -102,7 +102,7 @@ struct _sio
|
||||||
u32 count; // old_sio remnant
|
u32 count; // old_sio remnant
|
||||||
u32 packetsize;// old_sio remnant
|
u32 packetsize;// old_sio remnant
|
||||||
|
|
||||||
u8 buf[256];
|
u8 buf[512];
|
||||||
u8 ret; // default return value;
|
u8 ret; // default return value;
|
||||||
u8 cmd; // command backup
|
u8 cmd; // command backup
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue