Comment Re:The Law of Unintended Consequences (Score 1) 1364
This is the way such ballot petitions work in Washington state. You vote to repeal an existing law or to approve it. It's not specific to Referendum 71.
This is the way such ballot petitions work in Washington state. You vote to repeal an existing law or to approve it. It's not specific to Referendum 71.
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
What the world *really* needs is a good Automatic Bicycle Sharpener.