Page MenuHomeFreeBSD

Correct the use of an unitialized variable in sendfind_getobj()
ClosedPublic

Authored by rstone on Feb 28 2015, 9:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 10:55 PM
Unknown Object (File)
Mon, Oct 5, 2:53 PM
Unknown Object (File)
Wed, Sep 30, 4:39 AM
Unknown Object (File)
Sep 6 2026, 5:40 PM
Unknown Object (File)
Sep 6 2026, 12:32 AM
Unknown Object (File)
Sep 6 2026, 12:29 AM
Unknown Object (File)
Sep 2 2026, 10:38 PM
Unknown Object (File)
Aug 30 2026, 1:51 PM
Subscribers
None

Details

Summary

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

Reported by: Brainy Code Scanner, by Maxime Villard.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

rstone retitled this revision from to Correct the use of an unitialized variable in sendfind_getobj().
rstone edited the test plan for this revision. (Show Details)
rstone added a reviewer: kib.
rstone updated this object.
kib edited edge metadata.
This revision is now accepted and ready to land.Feb 28 2015, 9:19 PM
rstone updated this revision to Diff 4037.

Closed by commit rS279410 (authored by @rstone).