tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strtonum(3) from OpenBSD?

On Fri, Jun 26, 2009 at 08:04:00AM +0100, Roy Marples wrote:
> Could you explain why or do you just enjoy trolling? :)

Well, variadic functions where you pass pointers are highly explosive.
It is possible to use sscnaf() properly, portable and secure, but it is
also easy to get it wrong.

Does gcc have format checking for scanf-like formats nowadays?


Home | Main Index | Thread Index | Old Index