HomeFreeBSD

Correct the use of an unitialized variable in sendfind_getobj()

Description

Correct the use of an unitialized variable in sendfind_getobj()

When sendfile_getobj() is called on a DTYPE_SHM file, it never
initializes error, which is eventually returned to the caller.

Differential Revision: https://reviews.freebsd.org/D1989
Reviewed by: kib
Reported by: Brainy Code Scanner, by Maxime Villard.

Details

Provenance
rstoneAuthored on
Differential Revision
D1989: Correct the use of an unitialized variable in sendfind_getobj()
Parents
rS279409: Merge from head.
Branches
Unknown
Tags
Unknown

Event Timeline