ole32: Fix off-by-one error in FileMonikerImpl_DecomposePath.

Rob Shearman robertshearman at gmail.com
Sun Nov 29 04:18:01 CST 2009


strgtable needs to be an array of the same size as str, including the
nul-terminator.
---
 dlls/ole32/filemoniker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Should fix this Valgrind warning:
http://kegel.com/wine/valgrind/logs/2009-11-27-12.53/vg-ole32_moniker.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ole32-Fix-off-by-one-error-in-FileMonikerImpl_Decomp.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091129/59026f64/attachment.bin>


More information about the wine-patches mailing list