]> git.eshelyaron.com Git - emacs.git/commit
Avoid unsafe alloca when looking up toplevels
authorPo Lu <luangruo@yahoo.com>
Sat, 14 May 2022 12:07:27 +0000 (20:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 14 May 2022 12:07:56 +0000 (20:07 +0800)
commite0044dfeb0de0d0cafdef04b433b14afa27d3518
treec7022725e2d2b7658ea7afaaa7f494528ef99fdb
parent9a67e83bd656477e46015c629f3e961e22791a88
Avoid unsafe alloca when looking up toplevels

* src/xterm.c (x_dnd_compute_toplevels): Use SAFE_ALLOCA, since
alloca isn't safe when there are lots of toplevels or the window
manager is broken.
src/xterm.c