summaryrefslogtreecommitdiff
path: root/src/xkbcomp/scanner.c
diff options
context:
space:
mode:
authorduna.oh <duna.oh@samsung.com>2024-09-25 20:27:11 +0900
committerduna.oh <duna.oh@samsung.com>2024-09-27 11:29:20 +0900
commit00203d5022219895e2885c86ef773cbf58feb495 (patch)
treee52785ae2a5f8674ac469e45ca1d77fdf62ece95 /src/xkbcomp/scanner.c
parent63d9d57f04c1b16e370fa28b328fc33489819e07 (diff)
downloadlibxkbcommon-tizen.tar.gz
libxkbcommon-tizen.tar.bz2
libxkbcommon-tizen.zip
In commit b9b3593cbdeb7f5b02d50cecaba6a0b47d4979ad, darray is changed to use unsigned int instead of size_t to reduce memory usage. However, an integer overflow may occur due to arithmetic operation (addition) between values. To address this issue, this commit adds checks if this sums don't exceed their type's maximum value. Change-Id: Iaa689bb3beff0f991c8b9b6d8fc541f971d8c735
Diffstat (limited to 'src/xkbcomp/scanner.c')
0 files changed, 0 insertions, 0 deletions