bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59104: 28.2; Uninitialized field command_modes in Lisp_Module_Functi


From: Richard Copley
Subject: bug#59104: 28.2; Uninitialized field command_modes in Lisp_Module_Function
Date: Wed, 9 Nov 2022 16:24:35 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]