[PATCH 13/15] RFC: lib: Support a binary prefix 0y

Wolfgang Denk wd at denx.de
Sat Jul 24 15:00:19 CEST 2021


Dear Simon,

In message <CAPnjgZ0B0oyxn8enY4dKNmGYJtF-vr9tYXzaBahLDt70Wz6axA at mail.gmail.com> you wrote:
>
> > > There are quite a few places where simple_strtoul() is called with a
> > > base of 0. In that case, if the string starts with 0 it is interpreted
> > > as octal.
> >
> > That's a bug, then.
>
> If so it is a 19-year-old bug: (was lib_generic/vsprintc.c)
>
> 153d511e369 Initial revision

Mea culpa.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The trouble with our times is that the future is not what it used  to
be.                                                     - Paul Valery


More information about the U-Boot mailing list