Re: sprintf [message #306533 is a reply to message #306529] |
Sat, 29 December 2007 18:41 |
|
jnz
Messages: 3396 Registered: July 2006 Location: 30th century
Karma:
|
General (3 Stars) |
|
|
=HT=T-Bird wrote on Sun, 30 December 2007 00:49 | NEVER NEVER NEVER pass any string that is created from user input to printf() and friends as a format string, otherwise you'd have a security hole on your hands
|
You'd never do that anyway, asking the user to input a format string is too much these days.
[Updated on: Sat, 29 December 2007 18:41] Report message to a moderator
|
|
|