HomeFreeBSD

nfsd: Fix use-after-free in NFS4 lock test service

Description

nfsd: Fix use-after-free in NFS4 lock test service

Trivial use-after-free where stp was freed too soon in the non-error path.
To fix, simply move its release to the end of the routine.

Reported by: Coverity
CID: 1006105
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS299513: rtadvd(8): Don't use-after-free
Branches
Unknown
Tags
Unknown