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
https://bugs.winehq.org/show_bug.cgi?id=38925
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- Should be fixed with http://source.winehq.org/git/wine.git/patch/10b91549ed7193ec3e2ac0257bb65b4f...
https://bugs.winehq.org/show_bug.cgi?id=38925
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- As above. Reopen if still an issue.
https://bugs.winehq.org/show_bug.cgi?id=38925
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |10b91549ed7193ec3e2ac0257bb | |65b4f3fa32c8c
https://bugs.winehq.org/show_bug.cgi?id=38925
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.48.