summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorNicolás Bértolo <nicolasbertolo@gmail.com>2020-06-08 22:01:25 -0300
committerAndrea Corallo <andrea.corallo@arm.com>2020-06-10 13:46:46 +0200
commit10933f235fa2f1d7a3936da173cdd6e807bff57f (patch)
tree07f651aea45fc84ce05ae649bdf4859df5614f1e /lisp/emacs-lisp/syntax.el
parent4d1cfd0997c05de4abc5d2f96c17b1c5a02982d6 (diff)
downloademacs-10933f235fa2f1d7a3936da173cdd6e807bff57f.tar.gz
emacs-10933f235fa2f1d7a3936da173cdd6e807bff57f.tar.bz2
emacs-10933f235fa2f1d7a3936da173cdd6e807bff57f.zip
Copy suffixes passed to 'openp' to avoid GC crashes. Fixes bug#41755
In openp_add_middle_dir_to_suffixes we build a heap-based list from the passed suffixes. It is crucial that we don't create a heap-based cons that points to a stack-based list. * src/lread.c (openp_add_middle_dir_to_suffixes): Copy suffixes when building a list of middle-dirs and suffixes.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions