]> git.ipfire.org Git - thirdparty/strongswan.git/commit
vici: Improve byte lifetime parsing
authorThomas Egerer <thomas.egerer@secunet.com>
Mon, 7 Apr 2025 09:43:59 +0000 (11:43 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 10 Apr 2025 06:31:10 +0000 (08:31 +0200)
commited8c08fbe777102aec2e55272fc0c786e78c784e
tree49e68e3c7da3818201904e1c4e4f5951c5630fdf
parent9fe58c83fb5bec20b6e062e9b744ec1251123f0c
vici: Improve byte lifetime parsing

Increase buffer to 32 bytes to hold uint64_t completely and check for
overflows after multiplication with size modifiers.

Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
src/libcharon/plugins/vici/vici_config.c