msvcrt: Don't read past end of string in _strncoll/_wcsncoll.
commit368e9f39b4151a1094f62defeb308374061e137b
authorDaniel Lehman <dlehman@esri.com>
Fri, 17 Aug 2018 16:51:00 +0000 (17 18:51 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Sun, 19 Aug 2018 15:47:44 +0000 (19 17:47 +0200)
tree6768567bc62577af70dd5c35e52def60ae628712
parent91ac8eb00ab85bc5d7bfaae1a32c9a8cc08c8a19
msvcrt: Don't read past end of string in _strncoll/_wcsncoll.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/msvcrt/string.c
dlls/msvcrt/wcs.c