diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2025-01-31 14:42:33 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2025-01-31 15:01:34 -0800 |
commit | 3a7809f9cc7214e843c20e3c216933bf8bbcdbb2 (patch) | |
tree | 98fc00247df97a228a084b05646754d21b136031 /src/emacs.c | |
parent | e8ae77e9395162a473c91038019c676f23a19edf (diff) | |
download | emacs-3a7809f9cc7214e843c20e3c216933bf8bbcdbb2.tar.gz emacs-3a7809f9cc7214e843c20e3c216933bf8bbcdbb2.tar.bz2 emacs-3a7809f9cc7214e843c20e3c216933bf8bbcdbb2.zip |
Don’t use garbage after tty_frame_at returns nil
* src/term.c (handle_one_term_event): Don’t access possibly
uninitialized storage if frame is nil. This fixes an issue introduced
in commit 5eae7f5227c7789dea45cef26fec17c057024670 dated 2025-01-26
14:43:51 -0800. Issue caught by --enable-gcc-warnings, which enables
-Wanalyzer-use-of-uninitialized-value with gcc (GCC) 14.2.1 20250110
(Red Hat 14.2.1-7).
Diffstat (limited to 'src/emacs.c')
0 files changed, 0 insertions, 0 deletions