Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2008 01:26:59 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <200801030126.m031QxBr088419@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2008-01-03 01:26:59 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c 
  Log:
   - In sysctl_kern_file skip fdps with negative lastfiles.  This can
     happen if there are no files open.  Accounting for these can
     eventually return a negative value for olenp causing sysctl to
     crash with a bad malloc.
  
  Reported by:    Pawel Worach <pawel.worach@gmail.com>
  
  Revision  Changes    Path
  1.316     +2 -1      src/sys/kern/kern_descrip.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801030126.m031QxBr088419>