diff options
Diffstat (limited to 'src/stdlib/strtoull.c')
| -rw-r--r-- | src/stdlib/strtoull.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdlib/strtoull.c b/src/stdlib/strtoull.c index 2a74df16..994eaba0 100644 --- a/src/stdlib/strtoull.c +++ b/src/stdlib/strtoull.c @@ -2,6 +2,7 @@ #include <ctype.h> #include <limits.h> #include <errno.h> +#include <string.h> #include "_stdlib.h" unsigned long long int strtoull(const char * restrict nptr, char ** restrict endptr, int base) @@ -11,6 +12,7 @@ unsigned long long int strtoull(const char * restrict nptr, char ** restrict end unsigned long long int min = 0; SIGNAL_SAFE(0); + ASSERT_NOOVERLAP(nptr, strlen(nptr), endptr, sizeof(*endptr)); #include "_strtoi.h" |
