Date: Thu, 24 Feb 2005 13:14:41 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_clone.c Message-ID: <200502241314.j1ODEfbb057739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2005-02-24 13:14:41 UTC
FreeBSD src repository
Modified files:
sys/net if_clone.c
Log:
o Move ifcr_count sanity check up and reject negative values before we
panic at kmem_alloc() via malloc(9).
PR: kern/77748
Submitted by: Wojciech A. Koszek
OK'ed by: brooks
Security: local DoS, a sample code in the PR.
MFC after: 3 days
Revision Changes Path
1.6 +3 -6 src/sys/net/if_clone.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502241314.j1ODEfbb057739>
