[Dnsmasq-discuss] DHCPv6

Matthias Andree matthias.andree at gmx.de
Thu Apr 11 09:25:38 BST 2013


Am 10.04.2013 12:20, schrieb Simon Kelley:

> ... and the lesson here, is don't write an unsigned integer to a text
> file and then parse is back in using atoi(). D'oh!

atoi does not do error checking (and is documented that way), unlike
strto(u)l, so arguably every use of atoi() is a bug in itself.




More information about the Dnsmasq-discuss mailing list