diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2025-04-19 13:46:22 +0300 |
---|---|---|
committer | Thomas Weißschuh <linux@weissschuh.net> | 2025-04-19 15:18:05 +0300 |
commit | 4d231a7df1a85c7572b67a4666cb73adb977fbf6 (patch) | |
tree | bd051f1a0a9e000ef7b86cc424e400fa8f6c5c1e /tools/perf/scripts/python | |
parent | 0e75768ba24d669dbf76530e21fd51cfe2fbd2a9 (diff) | |
download | linux-4d231a7df1a85c7572b67a4666cb73adb977fbf6.tar.xz |
tools/nolibc: fix integer overflow in i{64,}toa_r() and
In twos complement the most negative number can not be negated.
Fixes: b1c21e7d99cd ("tools/nolibc/stdlib: add i64toa() and u64toa()")
Fixes: 66c397c4d2e1 ("tools/nolibc/stdlib: replace the ltoa() function with more efficient ones")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250419-nolibc-ubsan-v2-5-060b8a016917@weissschuh.net
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions