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@winehq.org Reporter: jlv@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.