From: Eli Zaretskii <eliz@gnu.org>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 30004-done@debbugs.gnu.org
Subject: bug#30004: 27.0.50; call-interactively reads uninitialized memory
Date: Sat, 06 Jan 2018 18:26:04 +0200 [thread overview]
Message-ID: <831sj39co3.fsf@gnu.org> (raw)
In-Reply-To: <CAArVCkRFOTKYFOG6_op3wzFppv9rh96EWmneW9k3XHPJCa25=A@mail.gmail.com> (message from Philipp Stephani on Sat, 06 Jan 2018 16:03:44 +0000)
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 06 Jan 2018 16:03:44 +0000
> Cc: 30004@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> schrieb am Sa., 6. Jan. 2018 um 16:56 Uhr:
>
> > From: Philipp <p.stephani2@gmail.com>
> > Date: Sat, 06 Jan 2018 12:31:51 +0100
> >
> > When passing a byte that would start a multibyte sequence,
> > `call-interactively` uses STRING_CHAR without checking whether the
> > entire multibyte sequence is actually part of the string. For example:
> >
> > $ emacs -batch -nw -Q -eval '(call-interactively (lambda () (interactive "\xFF")))'
> > Invalid control letter ‘’ (#o775776, #x3fbfe) in interactive calling string
>
> Thanks for catching this. Does the patch below fix this?
>
> Yes, with that patch Valgrind doesn't find any errors any more.
Thanks, pushed to the emacs-26 branch.
prev parent reply other threads:[~2018-01-06 16:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-06 11:31 bug#30004: 27.0.50; call-interactively reads uninitialized memory Philipp
2018-01-06 15:56 ` Eli Zaretskii
2018-01-06 16:03 ` Philipp Stephani
2018-01-06 16:26 ` Eli Zaretskii [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=831sj39co3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=30004-done@debbugs.gnu.org \
--cc=p.stephani2@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.