On Thu, 06 Jul 2017 10:23:11 -0600, Todd C. Miller wrote:

> CVSROOT:      /cvs
> Module name:  src
> Changes by:   mill...@cvs.openbsd.org 2017/07/06 10:23:11
> 
> Modified files:
>       lib/libc/stdlib: strtoimax.c strtol.c strtoll.c strtoul.c 
>                        strtoull.c strtoumax.c 
> 
> Log message:
> The 0x (or 0X) prefix in base 16 is optional so only skip over the
> prefix if the character following it is a valid hex char.  The C99
> standard is clear that given the string "0xy" zero should be returned
> and endptr set to point to the "x".  OK deraadt@ espie@

Also OK tedu@

 - todd

Reply via email to