summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/thunk.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-03-05 16:39:10 +0200
committerEli Zaretskii <eliz@gnu.org>2021-03-05 16:41:41 +0200
commit552ef6d6c0733b864bcb14eeb6183d7e64df3b80 (patch)
tree79667bd927ef29a8268b8644a68b671214151b55 /lisp/emacs-lisp/thunk.el
parent260617ddc2e8e46a741e6843f97c7ffbc5222ed0 (diff)
downloademacs-552ef6d6c0733b864bcb14eeb6183d7e64df3b80.tar.gz
emacs-552ef6d6c0733b864bcb14eeb6183d7e64df3b80.tar.bz2
emacs-552ef6d6c0733b864bcb14eeb6183d7e64df3b80.zip
Fix some unsafe uses of SSDATA in comp.c
* src/comp.c (comp_hash_source_file) (Fcomp__compile_ctxt_to_file, Fnative_elisp_load): Encode file names before passing them to library APIs. (Fcomp__compile_ctxt_to_file): use emacs_fopen instead of fopen. (declare_lex_function): Avoid keeping a 'char *' pointer around while calling Lisp, which could trigger GC, which could relocate string data.
Diffstat (limited to 'lisp/emacs-lisp/thunk.el')
0 files changed, 0 insertions, 0 deletions