Skip to content

Commit 77685fe

Browse files
committed
[CRT] _strtoi64_l should crash on NULL pointer
svn path=/trunk/; revision=72632
1 parent 2fa1533 commit 77685fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

reactos/sdk/lib/crt/string/strtoi64.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ __int64 CDECL _strtoi64_l(const char *nptr, char **endptr, int base, _locale_t l
1818
TRACE("(%s %p %d %p)\n", debugstr_a(nptr), endptr, base, locale);
1919
#endif
2020

21-
if (!MSVCRT_CHECK_PMT(nptr != NULL)) return 0;
2221
if (!MSVCRT_CHECK_PMT(base == 0 || base >= 2)) return 0;
2322
if (!MSVCRT_CHECK_PMT(base <= 36)) return 0;
2423

0 commit comments

Comments
 (0)