DragonFly BSD
DragonFly commits List (threaded) for 2005-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc/gen readdir.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2005 09:54:50 -0700 (PDT)

:On Wed, Aug 03, 2005 at 08:55:02AM -0700, Matthew Dillon wrote:
:> 
:> :On Tue, Aug 02, 2005 at 09:26:30AM -0700, Joerg Sonnenberger wrote:
:> :> joerg       2005/08/02 09:26:30 PDT
:> :> 
:> :> DragonFly src repository
:> :> 
:> :>   Modified files:
:> :>     lib/libc/gen         readdir.c 
:> :>   Log:
:> :>   Readd fix for FreeBSD PR/30631.
:> :>   
:> :>   No-cookie-for: David Rhodus
:> :>   
:> :>   Revision  Changes    Path
:> :>   1.5       +2 -2      src/lib/libc/gen/readdir.c
:> :> 
:> :> 
:> :> http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/readdir.c.diff?r1=1.4&r2=1.5&f=u
:> :
:> :Matt,
:> :Any objection to an instant MFC?
:> :
:> :Joerg
:> 
:>     It looks fine, but the original code wasn't 'broken' per-say, relative
:>     to how it was being used, so give it a week before you MFC.
:
:Well, given how often I received segfaults from Perl over the last
:month, it was definetely broken :-)
:
:Joerg

    What is pearl doing that would cause this?  It should have no idea what
    the size of the directory entry is so it ought to be providing a 
    fully-sized dirent structure.  If it isn't, then there is likely a 
    security issue that long filenames may trigger.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]