http://bugs.winehq.org/show_bug.cgi?id=5469
juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #2690 is|0 |1 obsolete| |
------- Additional Comments From juan_lang@yahoo.com 2006-21-06 12:46 ------- Created an attachment (id=2691) --> (http://bugs.winehq.org/attachment.cgi?id=2691&action=view) Partial fix
Never mind, don't test that patch, it doesn't help. There appear to be several bugs:
1. VarBstrCmp was passing -1 to CompareStringW, meaning it expected the BSTRs to be NULL-terminated. This is wrong, and the previous patch addressed that. 2. VarBstrCat was assuming its arguments were NULL-terminated. This is also wrong, and this patch addresses that. 3. CompareStringW only compares until a NULL. This needs a test case to show the correct behavior.