diff options
Diffstat (limited to 'lib/libc/stdlib/strtoul.c')
| -rw-r--r-- | lib/libc/stdlib/strtoul.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/strtoul.c b/lib/libc/stdlib/strtoul.c index e952663c533e..e9046b0d285a 100644 --- a/lib/libc/stdlib/strtoul.c +++ b/lib/libc/stdlib/strtoul.c @@ -84,7 +84,7 @@ strtoul(nptr, endptr, base)  	if (base == 0)  		base = c == '0' ? 8 : 10;  	acc = any = 0; -	if (base < 2) +	if (base < 2 || base > 35)  		goto noconv;  	cutoff = ULONG_MAX / base;  | 
