Date: Tue, 14 Feb 2006 21:09:46 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_ef.c Message-ID: <200602142109.k1EL9kT2040761@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-02-14 21:09:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_ef.c Log: Merge if_ef.c:1.37 from HEAD to RELENG_6: When freeing the chain of if_ef devices on an aborted load, use SLIST_FOREACH_SAFE() rather than SLIST_FOREACH(), as elements are freed on each iteration of the loop. This prevents use-after-free. Noticed by: Coverity Prevent analysis tool Approved by: re (scottl) Revision Changes Path 1.34.2.2 +2 -2 src/sys/net/if_ef.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602142109.k1EL9kT2040761>