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:
Gregory Hainaut 2016-11-01 13:41:03 +01:00
parent aa4b2d9f3a
commit 270d7191ce
1 changed files with 1 additions and 1 deletions

View File

@ -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