Quote:
Originally Posted by provocating
Nevermind, obviously I needed to RTFM.
|
At no point should you be using sprintf.
http://msdn.microsoft.com/en-us/library/bb288454.aspx
sprintf (and a host of other function calls) are at the root of essentially every buffer overflow.
banned.h and strsafe.h are your friends.