https://bugs.winehq.org/show_bug.cgi?id=38925
Bug ID: 38925 Summary: ipstats.c:1992 runtime error: index 32 out of bounds for type 'char [32]' Product: Wine Version: 1.7.47 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: iphlpapi Assignee: wine-bugs@winehq.org Reporter: vitti570@gmail.com Distribution: ---
Running iphlpapi test case, in ipstats.c line 1992
if ((len = readlink( link, name, 32 )) > 0) name[len] = 0
len==32 thus exceeding the bounds of line[32].
I did double check with
if ((len = readlink( link, name, 32 )) > 0) assert(len<32),name[len] = 0
I found this one with a sanitized version of wine. Best regards Vittorio