[Bug 34580] New: strtoul behaves incorrectly with negative numbers.
http://bugs.winehq.org/show_bug.cgi?id=34580 Bug #: 34580 Summary: strtoul behaves incorrectly with negative numbers. Product: Wine Version: 1.7.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs(a)winehq.org ReportedBy: billy65bob(a)gmail.com Classification: Unclassified Created attachment 46055 --> http://bugs.winehq.org/attachment.cgi?id=46055 Small test of strtoul showing bad behaviour with 64bit wine Howdy ho, I and Lee were messing around with some 64bit applications built via mingw, and much to our chagrin, something was reading the numbers incorrectly. We got the expected results on native Linux, native Windows (both mingw and msvc bins tested), but not on 64bit wine IF we built with mingw. Investigating, we tracked it down to wine's implementation of strtoul. I've written up a small test case showing our use of strtoul. It should also reliably reproduce the errors provided it is... 1. built as a 64bit Windows application; 2. strtoul is not inlined; 3. It's executed in wine -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34580 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34580 --- Comment #1 from Kevin Meyer <billy65bob(a)gmail.com> 2013-09-26 02:14:39 CDT --- Fixed as of commit a449b2d57b6ad84f11c90346e01b8acef546b4f5. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34580 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a449b2d57b6ad84f11c90346e01 | |b8acef546b4f5 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2013-09-26 02:25:18 CDT --- Fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=34580 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2013-09-27 13:41:44 CDT --- Closing bugs fixed in 1.7.3. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org