http://bugs.winehq.org/show_bug.cgi?id=22043
Summary: Regression of VB6 string comparison bug 14703 Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: oleaut32 AssignedTo: wine-bugs@winehq.org ReportedBy: xocotl@gmail.com
In VB6 apps, "" = Chr$(0) again. In fact I believe it is ending comparisons at the null, because I have eight-character BSTRs containing nulls and they are comparing as true when they should be comparing as false.
This is serious, as it could allow data with nulls to get through validation to whatever the VB6 app calls.
http://bugs.winehq.org/show_bug.cgi?id=22043
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-03-15 15:28:38 --- If a regression in Wine exists, please see http://wiki.winehq.org/RegressionTesting for regression testing instructions.
http://bugs.winehq.org/show_bug.cgi?id=22043
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2010-03-15 15:32:54 --- Also, you say that bug 14703 has regressed, yet the test committed as part of that bug still succeeds. Please provide instructions on how to reproduce, we're no omniscient.
http://bugs.winehq.org/show_bug.cgi?id=22043
--- Comment #3 from James Bellinger xocotl@gmail.com 2010-03-15 15:38:59 --- Created an attachment (id=26828) --> (http://bugs.winehq.org/attachment.cgi?id=26828) trivial program which creates OUTPUT.TXT. first one BAD on 1.1.37, GOOD on Windows
This just compares "" and Chr$(0) and outputs to a file. Both GOOD on Windows, first BAD on Wine
http://bugs.winehq.org/show_bug.cgi?id=22043
--- Comment #4 from James Bellinger xocotl@gmail.com 2010-03-15 15:46:39 --- Compiling 1.1.40, I'll let you know if it still continues.
http://bugs.winehq.org/show_bug.cgi?id=22043
James Bellinger xocotl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from James Bellinger xocotl@gmail.com 2010-03-15 16:24:34 --- 1.1.40 fixes this! Great!
http://bugs.winehq.org/show_bug.cgi?id=22043
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=22043
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2010-03-19 14:11:10 --- Closing bugs fixed in 1.1.41.