[PATCH 1/4] ntdll: Increase name buffer size in read_directory_getattrlist() for UTF-8 encoding. [resend]

Ken Thomases ken at codeweavers.com
Wed May 20 14:58:52 CDT 2015


The docs for getattrlist() say that ATTR_CMN_NAME can return up to NAME_MAX + 1
Unicode characters (code points) encoded in UTF-8, which means it can be up to
NAME_MAX * 3 + 1 bytes.
---
dlls/ntdll/directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Increase-name-buffer-size-in-read_directory_ge.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150520/c1a2fe33/attachment.bin>


More information about the wine-patches mailing list