all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Richard Copley <rcopley@gmail.com>
Cc: 59104-done@debbugs.gnu.org
Subject: bug#59104: 28.2; Uninitialized field command_modes in Lisp_Module_Function
Date: Thu, 10 Nov 2022 12:56:30 +0200	[thread overview]
Message-ID: <8335arrsbl.fsf@gnu.org> (raw)
In-Reply-To: <6bee3bae-864a-e00c-cf13-4d98215688a9@gmail.com> (message from Richard Copley on Wed, 9 Nov 2022 16:24:35 +0000)

> Date: Wed, 9 Nov 2022 16:24:35 +0000
> From: Richard Copley <rcopley@gmail.com>
> 
> > The command_modes field seems to be uninitialized. This might print a
> > random integer, print a randomly selected lisp object from memory, or
> > segfault.
> 
> I can confirm that changing the 'field' argument from "interactive_form" 
> to "command_modes", in the invocation of ALLOCATE_PSEUDOVECTOR in 
> allocate_module_function (), fixes the problem. See "emacs-module.c", 
> line 564.

Thanks, I think this is the right fix, so I've now installed this on
the master branch, and I'm closing the bug.





      reply	other threads:[~2022-11-10 10:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 11:30 bug#59104: 28.2; Uninitialized field command_modes in Lisp_Module_Function Richard Copley
2022-11-09 16:24 ` Richard Copley
2022-11-10 10:56   ` 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=8335arrsbl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59104-done@debbugs.gnu.org \
    --cc=rcopley@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.