diff options
author | duna.oh <duna.oh@samsung.com> | 2024-09-25 20:27:11 +0900 |
---|---|---|
committer | duna.oh <duna.oh@samsung.com> | 2024-09-27 11:29:20 +0900 |
commit | 00203d5022219895e2885c86ef773cbf58feb495 (patch) | |
tree | e52785ae2a5f8674ac469e45ca1d77fdf62ece95 /README.md | |
parent | 63d9d57f04c1b16e370fa28b328fc33489819e07 (diff) | |
download | libxkbcommon-accepted/tizen/unified/x/asan/20241014.000209.tar.gz libxkbcommon-accepted/tizen/unified/x/asan/20241014.000209.tar.bz2 libxkbcommon-accepted/tizen/unified/x/asan/20241014.000209.zip |
darray: check integer overflowHEADtizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241014.000209accepted/tizen/unified/x/20240929.082835accepted/tizen/unified/toolchain/20241004.101829accepted/tizen/unified/20240927.171126accepted/tizen/9.0/unified/20241030.231557tizen_9.0tizenaccepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unifiedaccepted/tizen_9.0_unified
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 'README.md')
0 files changed, 0 insertions, 0 deletions