Skip to content
Snippets Groups Projects
Commit 17f0ee46 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard
Browse files

msvcrt: NULL terminate strings returned by _Getdays and _Getmonths.

parent dfeec5a2
No related branches found
No related tags found
No related merge requests found
......@@ -444,6 +444,7 @@ char* CDECL _Getdays(void)
memcpy(&out[size], cur->str[7+i], len);
size += len;
}
out[size] = '\0';
return out;
}
......@@ -478,6 +479,7 @@ char* CDECL _Getmonths(void)
memcpy(&out[size], cur->str[months_offset+12+i], len);
size += len;
}
out[size] = '\0';
return out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment