shlwapi/tests: Prevent buffer overflow

Ge van Geldorp ggeldorp at vmware.com
Mon Aug 24 07:25:40 CDT 2009


The first argument of PathAppend should have a size of at least _MAX_PATH.
On Win7, shlwapi was writing beyond the end of "one".

Changelog:
  shlwapi/tests: Prevent buffer overflow

---
 dlls/shlwapi/tests/path.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: adb2c70103ded116b5f27aaddf96ffc5ca95d78a.diff
Type: text/x-patch
Size: 1403 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090824/53f70124/attachment.bin>


More information about the wine-patches mailing list