Check for secretID being NULL before checking length
This commit is contained in:
parent
ac0dbfc4e4
commit
06fdeaedaf
@ -3523,7 +3523,7 @@ miCASAIsSecretPersistent
|
||||
return NSSCS_E_INVALID_PARAM;
|
||||
}
|
||||
|
||||
if(secretID->len > NSSCS_MAX_SECRET_ID_LEN)
|
||||
if(secretID && secretID->len > NSSCS_MAX_SECRET_ID_LEN)
|
||||
{
|
||||
return NSSCS_E_BUFFER_LEN;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user