]> git.ipfire.org Git - thirdparty/systemd.git/commit
macro: introduce u64_multiply_safe() to avoid overflow
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Oct 2023 09:10:50 +0000 (18:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Oct 2023 09:31:44 +0000 (18:31 +0900)
commitffee7b97e3009d7d7370c80da42af766cc718c72
tree6bf3af2b910b05ac1b5747c314383ef45444d907
parentb39907c712b32846320df458c6a1fe95e43918c8
macro: introduce u64_multiply_safe() to avoid overflow

Just a paranoia.
src/basic/macro.h
src/libsystemd/sd-journal/journal-file.c
src/test/test-macro.c