Forgot your password?
typodupeerror

Comment Re:No - there are plenty of safer alternatives (Score 4, Informative) 486

There's nothing unsafe about printf (since compilers started doing format type checking), as long as you don't use user input as the format string. To print user input, you use printf("%s", user_input).

%n writes to the stack. It's disabled by default in VS2005 onwards. More at http://weblogs.asp.net/george_v_reilly/archive/2007/02/06/printf-n.aspx and http://julianor.tripod.com/bc/formatstring-1.2.pdf

Slashdot Top Deals

What the world *really* needs is a good Automatic Bicycle Sharpener.

Working...