]> git.eshelyaron.com Git - emacs.git/commit
Fix crash when retrieving window property with invalid atom data
authorPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 12:12:12 +0000 (20:12 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 12:12:12 +0000 (20:12 +0800)
commitca5f259cff93ad7fc4d5e70319412420affb6d17
tree762d44b9f560b358c54c9204609a0bc778d89b73
parentf66a47b5bca7a9c603040b7c62a2562a925c94d3
Fix crash when retrieving window property with invalid atom data

This happens when dropping files from dtfile, which somehow puts
non-atom stuff in window properties of type ATOM_PAIR.

* src/xselect.c (x_atom_to_symbol): Catch errors around
XGetAtomName.
src/xselect.c