cvs commit: src/sys/opencrypto cryptodev.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Aug 18 11:58:04 GMT 2005


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 at sentex.net>
  MFC after:      1 day
  
  Revision  Changes    Path
  1.26      +4 -2      src/sys/opencrypto/cryptodev.c


More information about the cvs-src mailing list