1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

r17862: Fix possible NULL deref (like rev 17861) found by the

Stanford group.
Jeremy.
(This used to be commit cfd39c2804df3f67637adf223542daa208c893c7)
This commit is contained in:
Jeremy Allison 2006-08-28 01:48:04 +00:00 committed by Gerald (Jerry) Carter
parent 16c8f09a1f
commit fb0ed72caa

View File

@ -2284,7 +2284,9 @@ SMB_BIG_UINT STR_TO_SMB_BIG_UINT(const char *nptr, const char **entptr)
const char *p = nptr;
if (!p) {
*entptr = p;
if (entptr) {
*entptr = p;
}
return val;
}