diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2023-06-30 19:03:51 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2023-07-03 12:51:21 +0100 |
commit | 58127176589c22d9fb8d60b67ce2c9bbec3dca67 (patch) | |
tree | f147542be7fcaf1c90821060b79599e70593db87 /include/authz | |
parent | af323aabe2a7152b1e857baa840485b79c06bbf1 (diff) |
qemu-keymap: properly check return from xkb_keymap_mod_get_index
We can return XKB_MOD_INVALID for AltGr which rightly gets flagged by
sanitisers as an overly wide shift attempt. Properly check the return
type and leave the bitmap as zero in that case. Tested output before
and after is unchanged with the gb and ara keymaps.
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-7-alex.bennee@linaro.org>
Diffstat (limited to 'include/authz')
0 files changed, 0 insertions, 0 deletions