Hello community, here is the log from the commit of package emacs for openSUSE:Factory checked in at 2020-08-12 10:57:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/emacs (Old) and /work/SRC/openSUSE:Factory/.emacs.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "emacs" Wed Aug 12 10:57:05 2020 rev:147 rq:825389 version:26.3 Changes: -------- --- /work/SRC/openSUSE:Factory/emacs/emacs.changes 2020-04-25 20:12:08.964020942 +0200 +++ /work/SRC/openSUSE:Factory/.emacs.new.3399/emacs.changes 2020-08-12 10:57:10.708763698 +0200 @@ -1,0 +2,6 @@ +Mon Aug 10 12:31:55 UTC 2020 - Dr. Werner Fink <wer...@suse.de> + +- Add patch emacs-libX11-boo1175028.patch to fix SIGSEGV introduced + by a security fix for libX11 (boo#1175028) + +------------------------------------------------------------------- New: ---- emacs-libX11-boo1175028.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ emacs.spec ++++++ ++++ 3006 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/emacs/emacs.spec ++++ and /work/SRC/openSUSE:Factory/.emacs.new.3399/emacs.spec ++++++ emacs-libX11-boo1175028.patch ++++++ >From 72c5f71cd45c860299950cd058d8e13b87375741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mouni=C3=A9?= <gregory.mou...@imag.fr> Date: Sun, 2 Aug 2020 15:56:33 +0200 Subject: [PATCH] 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 --- src/xfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git src/xfns.c src/xfns.c index b89fac1cda..f9a00a6daf 100644 --- src/xfns.c +++ src/xfns.c @@ -2563,7 +2563,7 @@ create_frame_xic (struct frame *f) goto out; xim = FRAME_X_XIM (f); - if (!xim) + if (!xim || ! FRAME_X_XIM_STYLES(f)) goto out; /* Determine XIC style. */ -- 2.26.2