From: Paolo Bonzini <pbonzini@redhat.com>
To: Gianni Tedesco <gianni.tedesco@citrix.com>
Cc: Xen Devel <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [PATCH]: fix crash in various tools by permitting xs_*() with NULL path
Date: Mon, 26 Jul 2010 11:45:28 +0200 [thread overview]
Message-ID: <4C4D5938.3060605@redhat.com> (raw)
In-Reply-To: <1279645377.1723.1966.camel@qabil.uk.xensource.com>
On 07/20/2010 07:02 PM, Gianni Tedesco wrote:
> On the contrary open(NULL, O_RDONLY) will... The difference is FILE * is
> a struct wheras the change I am proposing in this case is to treat NULL
> as the empty string in the case of paths.
Returning EFAULT is one possible outcome, but a SIGSEGV or SIGBUS is
also valid according to POSIX.
Paolo
next prev parent reply other threads:[~2010-07-26 9:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-20 15:55 [PATCH]: fix crash in various tools by permitting xs_*() with NULL path Gianni Tedesco
2010-07-20 16:27 ` Ian Jackson
2010-07-20 17:02 ` Gianni Tedesco
2010-07-26 9:45 ` Paolo Bonzini [this message]
2010-07-20 17:16 ` Gianni Tedesco
2010-07-20 17:32 ` [PATCH]: fix segfault in xl destroy when xenstore has been fowled up Gianni Tedesco
2010-07-21 13:48 ` Stefano Stabellini
2010-07-21 13:59 ` Ian Jackson
2010-07-21 8:41 ` [PATCH]: fix crash in various tools by permitting xs_*() with NULL path Ian Campbell
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=4C4D5938.3060605@redhat.com \
--to=pbonzini@redhat.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=gianni.tedesco@citrix.com \
--cc=xen-devel@lists.xensource.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 NNTP newsgroup(s).