http://bugs.winehq.org/show_bug.cgi?id=28881
Bug #: 28881 Summary: CommandLineToArgvW last argument is not equal to NULL Product: Wine Version: 1.3.31 Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 AssignedTo: wine-bugs@winehq.org ReportedBy: martijn.jstn@gmail.com Classification: Unclassified
Created attachment 37108 --> http://bugs.winehq.org/attachment.cgi?id=37108 Test application
The last argument given by CommandLineToArgvW should be equal to NULL which it is not. This causes application which use a pointer to increment and check for NULL to crash.
Should be an easy fix, allocate argv to hold one more pointer and set it to NULL.