]> granicus.if.org Git - sysstat/commit
Make sure values to be compared are unsigned integers
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 6 Nov 2022 14:48:16 +0000 (15:48 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 6 Nov 2022 14:51:27 +0000 (15:51 +0100)
commit44f1dc159242c1e434a3b836cda49f084c5a96cc
tree0d9d9f1f52ce521d60abbd4210e43bf1d62fc50e
parentfb6db5e8a7b9a0bacc787769436aad9412b224ae
Make sure values to be compared are unsigned integers

It seems safer to make sure that input values are unsigned int before
casting them to unsigned long long and making the comparison.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
common.c
common.h
sa_common.c
sadc.c