msvcrt: Error out if format is NULL in vsnprintf

James Hawkins truiken at gmail.com
Mon Jul 3 13:46:42 CDT 2006


Hi,

According to msdn, we should return -1 and set errno to EINVAL if
format is NULL.

Changelog:
* Error out if format is NULL in vsnprintf.

 dlls/msvcrt/wcs.c |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

--
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 98c9c31fc79c8ed6a98994d1845510640750aec6.diff
Type: text/x-diff
Size: 912 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060703/8e65fcd6/98c9c31fc79c8ed6a98994d1845510640750aec6.diff


More information about the wine-patches mailing list