diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-11-28 02:17:22 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-11-28 02:17:22 +0000 |
| commit | 649ffc6d4b89aa5fcd609e520763f210eb8fce88 (patch) | |
| tree | e05be326c2cd9092a4d9a5e7d528b86f6642dc10 /lib/libc/stdlib/strtoll.c | |
| parent | 6497eddc3f4515263d2f75678ac4c416239b79cb (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdlib/strtoll.c')
| -rw-r--r-- | lib/libc/stdlib/strtoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/strtoll.c b/lib/libc/stdlib/strtoll.c index 5d656c1bee3c..2992ec83f1e8 100644 --- a/lib/libc/stdlib/strtoll.c +++ b/lib/libc/stdlib/strtoll.c @@ -86,7 +86,7 @@ strtoll(nptr, endptr, base) if (base == 0) base = c == '0' ? 8 : 10; acc = any = 0; - if (base < 2) + if (base < 2 || base > 35) goto noconv; /* |
