[PATCH 1/4 v3] msvcrt: Don't read past end of string in _strncoll/_wcsncoll.

Piotr Caban piotr at codeweavers.com
Fri Aug 17 11:51:00 CDT 2018

From: Daniel Lehman <dlehman at esri.com>

Signed-off-by: Daniel Lehman <dlehman at esri.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
  - reorder patches to avoid invalid memory reads on wine
  - change tests skipping on setlocale failure
  - use MSVCRT_strnlen instead of strnlen
  - use MSVCRT_wcsnlen instead of adding strnlenW implementation

  dlls/msvcrt/string.c | 4 +++-
  dlls/msvcrt/wcs.c    | 4 +++-
  2 files changed, 6 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Don-t-read-past-end-of-string-in-_strncoll-_wcs.txt
Type: text/x-patch
Size: 1403 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180817/b934963d/attachment.bin>

More information about the wine-devel mailing list