msiexec: check first argument parsing and leading whitespace.

Aric Stewart aric at codeweavers.com
Fri Oct 10 09:18:40 CDT 2008


CreateProcess can generate command lines which do not have the 
msiexec.exe as argument 0.  This means we where skipping the first real 
argument.

additionally we need to strip leading whitespace for that potential 
first argument.
---
  programs/msiexec/msiexec.c |   32 ++++++++++++++++++++++++--------
  1 files changed, 24 insertions(+), 8 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 66d3d41e7470ebc6a3193eb8f3513f9ecd379467.diff
Type: text/x-patch
Size: 2385 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081010/8da4f978/attachment.bin 


More information about the wine-patches mailing list