From: Andreas Schwab <schwab@suse.de>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: emacs-26 c87d04e: Avoid aborts in 'md5'
Date: Wed, 28 Feb 2018 09:49:36 +0100 [thread overview]
Message-ID: <mvm8tbdts67.fsf@suse.de> (raw)
In-Reply-To: <87h8q15xdo.fsf@gmx.de> (Michael Albinus's message of "Wed, 28 Feb 2018 09:30:59 +0100")
On Feb 28 2018, Michael Albinus <michael.albinus@gmx.de> wrote:
> eliz@gnu.org (Eli Zaretskii) writes:
>
>> diff --git a/src/fns.c b/src/fns.c
>> index aba34fd..de1dad3 100644
>> --- a/src/fns.c
>> +++ b/src/fns.c
>> @@ -4952,6 +4952,9 @@ extract_data_from_object (Lisp_Object spec,
>> #endif
>> }
>>
>> + if (!STRINGP (object))
>> + signal_error ("Invalid object argument",
>> + NILP (object) ? build_string ("nil") : object);
>> return SSDATA (object);
>> }
>
> Don't we call CHECK_STRING (object) in such cases, which raises the
> standardized error Qwrong_type_argument?
How can that ever happen anyway?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
next prev parent reply other threads:[~2018-02-28 8:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180227164448.16622.42058@vcs0.savannah.gnu.org>
[not found] ` <20180227164448.E4B45207B1@vcs0.savannah.gnu.org>
2018-02-28 8:30 ` emacs-26 c87d04e: Avoid aborts in 'md5' Michael Albinus
2018-02-28 8:49 ` Andreas Schwab [this message]
2018-02-28 9:09 ` Michael Albinus
2018-02-28 9:15 ` Andreas Schwab
2018-02-28 15:55 ` Eli Zaretskii
2018-02-28 16:32 ` Andreas Schwab
2018-02-28 17:24 ` Eli Zaretskii
2018-02-28 19:14 ` Paul Eggert
2018-02-28 20:35 ` Eli Zaretskii
2018-02-28 22:14 ` Paul Eggert
2018-03-01 3:39 ` Eli Zaretskii
2018-02-28 15:52 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mvm8tbdts67.fsf@suse.de \
--to=schwab@suse.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).