diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-07-04 16:21:35 -0500 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-07-04 16:22:17 -0500 |
commit | 6d415d5f0b616fc36f3e5c47a42b6af19eb3d82a (patch) | |
tree | 0c0a80eb451ec8f28e13ff0c7315796cc219ec12 /lisp/emacs-lisp/ert-x.el | |
parent | 7540f98c5ac57247066f017889b6cffe1dd690fc (diff) | |
download | emacs-6d415d5f0b616fc36f3e5c47a42b6af19eb3d82a.tar.gz emacs-6d415d5f0b616fc36f3e5c47a42b6af19eb3d82a.tar.bz2 emacs-6d415d5f0b616fc36f3e5c47a42b6af19eb3d82a.zip |
Fix core dump with x-get-local-selection
* src/xselect.c (Fx_get_local_selection): Check that VALUE has 4
elements, since x_get_local_selection can dump core otherwise.
This pacifies gcc -Wanalyzer-null-dereference, which found the
problem.
Diffstat (limited to 'lisp/emacs-lisp/ert-x.el')
0 files changed, 0 insertions, 0 deletions