From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@gnu.org>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: /srv/bzr/emacs/trunk r107337: Protect fileio.c primitives against invalid file handler return values.
Date: Sun, 19 Feb 2012 22:39:47 -0500 [thread overview]
Message-ID: <jwvzkce9nss.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8739a645zp.fsf@gnu.org> (Chong Yidong's message of "Mon, 20 Feb 2012 10:02:18 +0800")
> If the handler function returns an object of the wrong type, and that is
> not caught, Emacs is liable to crash if that return value is used in C
> code.
Note that such a crash would denote a bug in the C code (triggered by
a bug in the file-handler, of course, but a separate bug nevertheless).
Stefan
prev parent reply other threads:[~2012-02-20 3:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Rz3pU-00020m-C6@vcs.savannah.gnu.org>
2012-02-20 1:29 ` /srv/bzr/emacs/trunk r107337: Protect fileio.c primitives against invalid file handler return values Leo
2012-02-20 2:02 ` Chong Yidong
2012-02-20 2:30 ` Leo
2012-02-20 3:39 ` Stefan Monnier [this message]
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=jwvzkce9nss.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=cyd@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=sdl.web@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.