summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-10-21 19:56:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-10-21 19:56:47 +0000
commitc01b1bf1af4f1e08f1051eec416981fc16dbb54c (patch)
tree4212f5817c3c4b477f232c115d6f3cbec88f55fe /lib
parent938a76644489d9170c4cebf2ea556029aeccbdf4 (diff)
In atoi(), only check for a base indication iff the string starts with `0'
and no base has been enforced. Otherwise the leading number of the mec(4) 08:00:69:xx:yy:zz Ethernet address would be interpreted as octal base, followed by an out-of-range `8' which is now rejected but incorrectly skipped; noticed by maja@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions