libX11: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun May 9 15:44:10 UTC 2021
src/xlibi18n/imKStoUCS.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 838ea5a5a0267c25b20c095c9a70684edeeefba4
Author: Gaurav Ujjwal <gujjwal00 at gmail.com>
Date: Sun May 9 05:04:36 2021 +0000
Fix out-of-bound access in KeySymToUcs4()
Array `keysym_to_unicode_590_5fe` is only valid for range [0x590, 0x5fe] but current lower-bound is checked against 0x589.
So invalid values from 0x58a to 0x58f are being allowed by current check.
If any of these invalid value is passed as `keysym`, `keysym - 0x590` would underflow.
Signed-off-by: Gaurav Ujjwal <gujjwal00 at gmail.com>
More information about the xorg-commit
mailing list