fa.openbsd.source-changes
[Top] [All Lists]

CVS: cvs.openbsd.org: src

Subject: CVS: cvs.openbsd.org: src
From: Miod Vallat
Date: Wed, 21 Oct 2009 19:59:23 UTC
Newsgroups: fa.openbsd.source-changes

CVSROOT:        /cvs
Module name:    src
Changes by:     miod@xxxxxxxxxxxxxxx    2009/10/21 13:56:46

Modified files:
        sys/arch/sgi/sgi: autoconf.c 

Log message:
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@


<Prev in Thread] Current Thread [Next in Thread>