kernel32: Fixed buffer overflow in GetShortPathNameW.

Jacek Caban jacek at codeweavers.com
Fri May 22 09:12:52 CDT 2015


Since this is a corner case, I decided that slow relocation is better
than trying to predict required buffer size.
---
 dlls/kernel32/path.c       | 21 +++++++++++++++++++--
 dlls/kernel32/tests/path.c | 22 ++++++++++++++++++----
 2 files changed, 37 insertions(+), 6 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-Fixed-buffer-overflow-in-GetShortPathNameW.diff
Type: text/x-patch
Size: 4219 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150522/4d3c66e7/attachment.bin>


More information about the wine-patches mailing list