]> git.eshelyaron.com Git - emacs.git/commit
Beware large stack growth in pgtk_menu_show
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Jan 2025 06:15:49 +0000 (22:15 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:06:31 +0000 (19:06 +0100)
commit9e3150d3bead358b17c89eca667e8e39f1b8452f
treebbc5b5ebece31b9e30b6f0f15b5f1a27964433a2
parent0c5b39ec6cd3c9a85b99921ad747a7119eb28b28
Beware large stack growth in pgtk_menu_show

* src/pgtkmenu.c (pgtk_menu_show): USE_SAFE_ALLOCA instead of alloca.
Problem found with --enable-gcc-warnings.

(cherry picked from commit 6ff06ff738ead96d7b4cb59eda15a1c72e2b5776)
src/pgtkmenu.c
src/xmenu.c