Subject: Re: lib/3211: open allows a null path as an arg.
To: Klaus Klein <>
From: Michael Graff <>
List: netbsd-bugs
Date: 02/11/1997 17:25:09
Klaus Klein <> writes:

> > Open allows a null string to be passed as the path argument, resulting
> > in what appears to be the current directory. None of the other unixes
> > that I tried this on allowed the call.
> That's a bug I encountered when I started my POSIX work on NetBSD.
> In general, POSIX.1 section 2.4 (pathname resolution) states:
> "A null pathname is invalid.", so I simply added a short check:

There was a lot of discussion about this a while back, too.
You could check the archives for more...