cmd: Don't read past end of thisVar in WCMD_expand_envvar (valgrind) (try 2)

Dan Kegel dank at
Wed May 25 23:53:14 CDT 2011

(old code called CompareStringW with wrong length)

Also moves repeated code into a helper function.

Change since first try: split test into separate patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cmd-Don-t-read-past-end-of-thisVar-in-WCMD_expand_en.patch
Type: text/x-patch
Size: 5635 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list