Changeset 378

Show
Ignore:
Timestamp:
01/19/00 16:32:13 (14 years ago)
Author:
ucaccsp
Message:

Fix potential buffer overflow in Win32 debug properly - using _vsnprintf()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • common/trunk/src/debug.c

    r373 r378  
    5454         
    5555        va_start(ap, format); 
    56         vsprintf(msg, format, ap);      /* FIXME - this should be vsnprintf() */ 
     56        _vsnprintf(msg, 65535, format, ap); 
    5757        va_end(ap); 
    5858        OutputDebugString(msg);