]> git.eshelyaron.com Git - emacs.git/commit
Fix crash while converting empty vector to X data
authorPo Lu <luangruo@yahoo.com>
Mon, 5 Sep 2022 01:51:05 +0000 (09:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 5 Sep 2022 01:51:22 +0000 (09:51 +0800)
commit21c8a9d944b37e431f56738c10a9fa7a75f4c3a9
treec84a5ed76e82c35c2634d52354e1bacfde43ec58
parentf07505d1ecf15ca9f6e6461e042092ceee96cc25
Fix crash while converting empty vector to X data

* src/xselect.c (lisp_data_to_selection_data): Assume an empty
vector represents INTEGER data, instead of blindly trying to
aref it's first element.
src/xselect.c