diff options
author | Ran Benita <ran@unusedvar.com> | 2021-08-31 21:50:52 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2021-09-09 16:52:47 +0300 |
commit | 4a576ab1844f68ca1eb8da922e863eb426e38957 (patch) | |
tree | 3217f013b434d0b64d33a30a0f04ac5d482c8752 /src/keysym-utf.c | |
parent | 4e361712d2ccd9fae30972c97ad290dc238e9913 (diff) | |
download | xorg-lib-libxkbcommon-4a576ab1844f68ca1eb8da922e863eb426e38957.tar.gz |
x11: try to fix crash in xkb_x11_keymap_new_from_device error handling
In 1b3a1c277a033083fee669e92c8cad862716ebd1 we changed the error
handling in this code to not bail out immediately but only after
everything has been processed, to simplify the code. But I suspect the
code isn't prepared for this and that's what causing the crash reported
in the issue.
Bring back the short-circuit error handling which would hopefully fix
such crashes.
Fixes: https://github.com/xkbcommon/libxkbcommon/issues/252
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'src/keysym-utf.c')
0 files changed, 0 insertions, 0 deletions