cvs commit: src/sys/kern sys_generic.c

Ruslan Ermilov ru at FreeBSD.org
Sat Oct 14 12:02:02 PDT 2006


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


More information about the cvs-src mailing list