We release the reference to the in6_ifaddr but retain a pointer to it.
Copy the address itself, rather than keeping the pointer to fix this.
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential D50460
icmp6: fix use-after-reference-release kp on Thu, May 22, 12:39 PM. Authored by Tags None Referenced Files
Details
We release the reference to the in6_ifaddr but retain a pointer to it. Sponsored by: Rubicon Communications, LLC ("Netgate")
Diff Detail
Event TimelineComment Actions I think this change is not necessary, but the comment should be revised instead. Is there any issue caused by referencing a released ifa ?
|