NetBSD-Bugs archive

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

Re: kern/47748: Invalid file on ffs

The following reply was made to PR kern/47748; it has been noted by GNATS.

From: David Laight <>
To: John Nemeth <>
Subject: Re: kern/47748: Invalid file on ffs
Date: Mon, 22 Apr 2013 22:29:01 +0100

 On Sun, Apr 21, 2013 at 04:40:02PM -0700, John Nemeth wrote:
 >      Except that it should be impossible to create such a file no
 > matter what an application does.  If a zero byte were to ever appear in
 > a filename it would represent a serious bug in the filesystem code or
 > memory corruption.
 I remember getting one a 0 byte in the middle of the filename on
 a SYSV filesystem (fixed length names).
 Was impossible to get a match, probably because the kernel was matching
 all the bytes.
 Probably happened due to a randmon kernel overwrite getting paged out.
 (We would have been testing device drivers on that system.)
 David Laight:

Home | Main Index | Thread Index | Old Index