Date: Thu, 18 Aug 2005 11:58:03 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/opencrypto cryptodev.c Message-ID: <200508181158.j7IBw3GM020127@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-08-18 11:58:03 UTC
FreeBSD src repository
Modified files:
sys/opencrypto cryptodev.c
Log:
Fix bogus check. It was possible to panic the kernel by giving 0 length.
This is actually a local DoS, as every user can use /dev/crypto if there
is crypto hardware in the system and cryptodev.ko is loaded (or compiled
into the kernel).
Reported by: Mike Tancsa <mike@sentex.net>
MFC after: 1 day
Revision Changes Path
1.26 +4 -2 src/sys/opencrypto/cryptodev.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508181158.j7IBw3GM020127>
