[Bug 35346] New: sscanf clears first unmatched string arg
http://bugs.winehq.org/show_bug.cgi?id=35346 Bug ID: 35346 Summary: sscanf clears first unmatched string arg Product: Wine Version: 1.7.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs(a)winehq.org Reporter: jlv(a)mxsimulator.com Classification: Unclassified Created attachment 47152 --> http://bugs.winehq.org/attachment.cgi?id=47152 sscanf test When sscanf fails on a string match, it clears the next matching string argument. I'm not sure if that's undefined in the C standard but it's not how most scanf functions work. -- 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=35346 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Bruno Jesus <00cpxxx(a)gmail.com> --- Confirming in wine 1.7.10. Results from XP: C:\>sscanftest.exe count=2 a="foo" b="bar" c="default baz" -- 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=35346 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |638c8e3847212f1d5399643c30f | |ddcf7afc8c6ee Status|NEW |RESOLVED CC| |piotr.caban(a)gmail.com Resolution|--- |FIXED --- Comment #2 from Piotr Caban <piotr.caban(a)gmail.com> --- Fixed by commit 638c8e3847212f1d5399643c30fddcf7afc8c6ee. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=35346 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.11. -- 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