Commit c9467132 authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Fix _mbsspn_l implementation.

parent adfb58f1
...@@ -2791,6 +2791,9 @@ size_t CDECL _mbsspn_l(const unsigned char* string, ...@@ -2791,6 +2791,9 @@ size_t CDECL _mbsspn_l(const unsigned char* string,
{ {
const unsigned char *p, *q; const unsigned char *p, *q;
if (!MSVCRT_CHECK_PMT(string && set))
return 0;
for (p = string; *p; p++) for (p = string; *p; p++)
{ {
for (q = set; *q; q++) for (q = set; *q; q++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment