[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segfault in stat
From: |
Nathan Straz |
Subject: |
Re: segfault in stat |
Date: |
Mon, 2 Oct 2000 15:01:59 -0500 |
User-agent: |
Mutt/1.2.5i |
On Sat, Sep 30, 2000 at 12:29:01AM +0200, address@hidden wrote:
> On Fri, Sep 29, 2000 at 04:45:56PM -0500, Nathan Straz wrote:
> > Okay, it seems that everyone seemed to miss the point that is was doing
> > "negative testing." That means I MEANT to send a bad pointer to see
> > that the results are correct.
>
> You evoke undefined behaviour.
> So *any* result you find would be correct, including reformatting your disk
> drive.
Doesn't this trouble you? Why is there "undefined behavior" anywhere
in libc or the kernel? IMNSHO, this is totally unacceptable.
> Prescribed error returns:
[...]
Do you have a URL for this fine table?
--
Nate Straz address@hidden
sgi, inc http://www.sgi.com/
Linux Test Project http://oss.sgi.com/projects/ltp/
- Re: segfault in stat,
Nathan Straz <=