[PATCH 1/2 v2] msvcrt: Fix _searchenv, _searchenv_s, _wsearchenv, _wsearchenv_s
Piotr Caban
piotr at codeweavers.com
Mon Feb 19 08:32:29 CST 2018
From: Kirill Erofeev <erofeev.info at gmail.com>
Signed-off-by: Kirill Erofeev <erofeev.info at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
v2:
- simplified the code a little
- fix off by one error in buffer size check
- added FIXME in _s variants when count > MAX_PATH
dlls/msvcrt/dir.c | 210
++++++++++++++++++++++++++----------------------------
1 file changed, 102 insertions(+), 108 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Fix-_searchenv-_searchenv_s-_wsearchenv-_wsearc.txt
Type: text/x-patch
Size: 10398 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180219/fca8b7a1/attachment.bin>
More information about the wine-devel
mailing list