git: libc - Correct handling of non-hex sequences in strtol*() and related

Herbert J. Skuhra herbert at gojira.at
Sat Jul 23 12:47:19 PDT 2022


On Wed, 13 Jul 2022 18:11:12 +0200, Matthew Dillon wrote:
> 
> 
> commit 213582ebfc4fb70c430b219aa0afbc9141d27d24
> Author: Matthew Dillon <dillon at apollo.backplane.com>
> Date:   Wed Jul 13 09:07:12 2022 -0700
> 
>     libc - Correct handling of non-hex sequences in strtol*() and related
>     
>     * The standard clarifies that non-hex sequences such as "0xy"
>       should return 0 and a pointer to "xy".  Ours was returning
>       0 and a pointer to "y".  Fixed.
>     
>     * Unlikely to be any net effect on code other than improved
>       standards conformity.
>     
>     Reported-by: Herbert J. Skuhra

I guess this should be:

Reported-by: Steffen Nurpmeso

--
Herbert



More information about the Commits mailing list