HomeFreeBSD

cache: fix up a corner case in r307650

Description

cache: fix up a corner case in r307650

If no negative entry is found on the last list, the ncp pointer will be
left uninitialized and a non-null value will make the function assume an
entry was found.

Fix the problem by initializing to NULL on entry.

Reported by: glebius

Details

Provenance
mjgAuthored on
Parents
rS307684: For CCBs allocated on the stack, we need to clear the entire CCB, not just
Branches
Unknown
Tags
Unknown