Page MenuHomeFreeBSD

Fix a possible refcount leak in regen_tmpaddr().
ClosedPublic

Authored by markj on Apr 8 2015, 5:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 8:14 AM
Unknown Object (File)
Tue, Sep 30, 9:30 PM
Unknown Object (File)
Mon, Sep 22, 5:54 PM
Unknown Object (File)
Sep 16 2025, 12:07 PM
Unknown Object (File)
Sep 10 2025, 3:53 AM
Unknown Object (File)
Sep 1 2025, 12:25 AM
Unknown Object (File)
Aug 31 2025, 5:53 PM
Unknown Object (File)
Aug 31 2025, 7:56 AM
Subscribers

Details

Summary

public_ifa6 may be set to NULL after taking a reference to a previous
element of the address list. Instead, only take the reference once we've
left the loop, but before releasing the address list lock.

Diff Detail

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

Event Timeline

markj retitled this revision from to Fix a possible refcount leak in regen_tmpaddr()..
markj edited the test plan for this revision. (Show Details)
markj updated this object.
ae edited edge metadata.
This revision is now accepted and ready to land.Apr 9 2015, 8:52 AM
markj updated this revision to Diff 4799.

Closed by commit rS281483 (authored by @markj).