http://bugs.winehq.org/show_bug.cgi?id=33336
Bug #: 33336 Summary: ParseURLFromOutsideSourceW( ) , "res" variable is set twice Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shdocvw AssignedTo: wine-bugs@winehq.org ReportedBy: vmartinez@reactos.org Classification: Unclassified
http://source.winehq.org/source/dlls/shdocvw/shdocvw_main.c#L427
445 res = ParseURLFromOutsideSourceW(urlW, buffer, &len, unknown); 446 HeapFree(GetProcessHeap(), 0, urlW); 447 448 needed = WideCharToMultiByte(CP_ACP, 0, buffer, -1, NULL, 0, NULL, NULL); 449 450 res = 0;
The value in 450 resets the value from 445