Quantcast
Channel: PCSX-Reloaded
Viewing all articles
Browse latest Browse all 2368

Closed Unassigned: Fix sscanf overflow in libpcsxcore/misc.c [11834]

$
0
0
In misc.c lines 302 and 304 these sscanf calls would overflow past exename by one character since the width specifier is 256. While exename is also an array of 256 characters, we would want to make the width specifier 255 to account for 0-based indexing.

I've attached an SVN patch that fixes this.
Comments: Applied, thanks.

Viewing all articles
Browse latest Browse all 2368

Trending Articles