]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes in Mew due to corrupted tool-bar label
authorEli Zaretskii <eliz@gnu.org>
Sat, 27 Feb 2021 07:26:55 +0000 (09:26 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Feb 2021 07:26:55 +0000 (09:26 +0200)
commit2c5f21541957e2420e54ab2a70883140811708f7
treeac024cee2acbd7380b5de6a9e965a2c43a328711
parent7a23915618816ccdda03823412991e77003e3e1b
Avoid crashes in Mew due to corrupted tool-bar label

* src/gtkutil.c (update_frame_tool_bar): Don't keep around a
'char *' pointer to a Lisp string's contents when calling Lisp,
because that could relocate string data; keep the Lisp string
itself instead.  This avoids crashes in Mew.  (Bug#46791)
src/gtkutil.c