summaryrefslogtreecommitdiff
path: root/src/print_ip_addr.c
diff options
context:
space:
mode:
authorzsugabubus <zsugabubus@users.noreply.github.com>2019-11-24 19:41:59 +0100
committerzsugabubus <zsugabubus@users.noreply.github.com>2019-11-24 23:41:46 +0100
commitad29f204b7a57cb43b1d0bc5502b1f9177a06ea9 (patch)
treeb5cfb60b5aa5bc1304800bbd064baa74c9403366 /src/print_ip_addr.c
parentabfe05c8bd54cf25e3d705e4899e9e9c8a8ea9a7 (diff)
print_mem: Fix overflow on 32-bit systems
Values stored as `unsigned long` in "/proc/meminfo" but they were handled as `long`. On 32-bit systems with 4G memory it results in integer overflow.
Diffstat (limited to 'src/print_ip_addr.c')
0 files changed, 0 insertions, 0 deletions