all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 30004@debbugs.gnu.org
Subject: bug#30004: 27.0.50; call-interactively reads uninitialized memory
Date: Sat, 06 Jan 2018 16:03:44 +0000	[thread overview]
Message-ID: <CAArVCkRFOTKYFOG6_op3wzFppv9rh96EWmneW9k3XHPJCa25=A@mail.gmail.com> (raw)
In-Reply-To: <837esv9e21.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1099 bytes --]

  reply	other threads:[~2018-01-06 16:03 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 [this message]
2018-01-06 16:26     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkRFOTKYFOG6_op3wzFppv9rh96EWmneW9k3XHPJCa25=A@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=30004@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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.