http://bugs.winehq.org/show_bug.cgi?id=27348
Summary: _snprintf overflows specified bounds Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: ak.miller@auckland.ac.nz
Created an attachment (id=34972) --> (http://bugs.winehq.org/attachment.cgi?id=34972) A simple program which crashes Wine but works on Windows.
The Wine MSVCRT _snprintf implementation is wrong; the simple test program to be attached shortly is correct according to the docs from Microsoft, and works fine on Windows, but under Wine (checked out recently from git), it crashes due to heap corruption.
http://bugs.winehq.org/show_bug.cgi?id=27348
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com 2011-05-31 16:26:45 CDT --- Crashes for me in wine-1.3.21-26-ge6ee2c1
http://bugs.winehq.org/show_bug.cgi?id=27348
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Piotr Caban piotr.caban@gmail.com 2011-06-01 16:41:19 CDT --- *** Bug 27082 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=27348
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com 2011-06-06 15:24:11 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/ab9077d64084b51d2807fe807ea...
http://bugs.winehq.org/show_bug.cgi?id=27348
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-06-10 13:17:23 CDT --- Closing bugs fixed in 1.3.22.