CVSROOT: /cvs Module name: src Changes by: [email protected] 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@
