HomeFreeBSD

Fix a possible refcount leak in regen_tmpaddr().

Description

Fix a possible refcount leak in regen_tmpaddr().

public_ifa6 may be set to NULL after taking a reference to a previous
address list element. Instead, only take the reference after leaving the
loop but before releasing the address list lock.

Differential Revision: https://reviews.freebsd.org/D2253
Reviewed by: ae
MFC after: 2 weeks

Details

Provenance
markjAuthored on Apr 13 2015, 1:55 AM
Parents
rG0a68701fd28f: README:
Branches
Unknown
Tags
Unknown

Event Timeline