Date: Sat, 14 Oct 2006 19:01:56 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_generic.c Message-ID: <200610141901.k9EJ1u2b078503@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2006-10-14 19:01:56 UTC
FreeBSD src repository
Modified files:
sys/kern sys_generic.c
Log:
Prevent IOC_IN with zero size argument (this is only supported
if backward copatibility options are present) from attempting
to free memory that wasn't allocated. This is an old bug, and
previously it would attempt to free a null pointer. I noticed
this bug when working on the previous revision, but forgot to
fix it.
Security: local DoS
Reported by: Peter Holm
MFC after: 3 days
Revision Changes Path
1.151 +2 -1 src/sys/kern/sys_generic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610141901.k9EJ1u2b078503>
