public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "steve at fisharerojo dot org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/5605] dirfd() SEGVs when passed NULL
Date: Mon, 14 Jan 2008 03:13:00 -0000 [thread overview]
Message-ID: <20080114031305.24604.qmail@sourceware.org> (raw)
In-Reply-To: <20080113152052.5605.steve@fisharerojo.org>
------- Additional Comments From steve at fisharerojo dot org 2008-01-14 03:13 -------
(In reply to comment #1)
> The argument must be a pointer to a valid directory stream.
...and if it isn't libc should SEGV. That seems very illogical. It would seem to make much more sense to
return -1 and set errno to EBADF.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=5605
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2008-01-14 3:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-13 15:21 [Bug libc/5605] New: " steve at fisharerojo dot org
2008-01-13 15:59 ` [Bug libc/5605] " schwab at suse dot de
2008-01-14 3:13 ` steve at fisharerojo dot org [this message]
2008-01-14 3:17 ` roland at gnu dot org
[not found] <bug-5605-131@http.sourceware.org/bugzilla/>
2014-07-02 7:50 ` fweimer at redhat dot com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080114031305.24604.qmail@sourceware.org \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).