Date: Sat, 12 Feb 2005 17:51:12 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if.c Message-ID: <200502121751.j1CHpCfY011285@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-02-12 17:51:12 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
Validate ifc->ifc_len before submitting its incarnation to sbuf_new,
which will finally lead to kernel panic.
Security: This prevents a local (root-launched) DoS
Submitted by: Wojciech A. Koszek [dunstan at freebsd czest pl]
PR: 77421
MFC After: 1 week
Revision Changes Path
1.218 +4 -0 src/sys/net/if.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502121751.j1CHpCfY011285>
