diff options
| author | Grégory Mounié | 2020-08-02 15:56:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-08-02 20:19:16 +0300 |
| commit | 72c5f71cd45c860299950cd058d8e13b87375741 (patch) | |
| tree | 077330e468943a2295c5e4e89ff9c9fe7bdb2582 /src/bytecode.c | |
| parent | f54ddb0198640e38c1d34bf6031ff5117c117c85 (diff) | |
| download | emacs-72c5f71cd45c860299950cd058d8e13b87375741.tar.gz emacs-72c5f71cd45c860299950cd058d8e13b87375741.zip | |
Avoid segfaults if XIM is set but not xim_styles
Emacs segfaults at the X11 initialization if XIM is set
and xim_styles is NULL. This patch avoids the crash.
* src/xfns.c: Check also if FRAME_X_XIM_STYLES(f) is NULL.
(Bug#42676) (Bug#42673) (Bug#42677)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions