xorg-libx11/modules
Keith Packard a3c0b5dbd6 Copy locale modifiers when creating XimInstCallback [v2]
Locale modifiers may be freed whenever XSetLocaleModifiers gets
called, even if the locale hasn't changed. This means that we cannot
save a pointer to those modifiers in the XimInstCallback record and
must, instead, make a copy of them instead.

This fixes a problem uncovered when running wish under libasan as
follows (on current Debian unstable):

	$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish

Reported-by: Vittorio Zecca <zeccav@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>

v2:
	Remove incorrect 'else' token found by @alanc
2020-11-17 14:42:25 -08:00
..
im Copy locale modifiers when creating XimInstCallback [v2] 2020-11-17 14:42:25 -08:00
lc i18n: use memcpy instead of strncpy on unterminated char arrays 2020-08-28 20:29:27 +00:00
om Fix an integer overflow in init_om() 2020-08-19 12:46:57 +02:00
Makefile.am Add missing Makefile.am to lib/X11/modules 2005-07-15 04:27:32 +00:00