]> granicus.if.org Git - sysstat/commit
sar/sadf: Use size_t type for size variable in read() syscall
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 11 Feb 2018 09:37:59 +0000 (10:37 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 11 Feb 2018 10:04:25 +0000 (11:04 +0100)
commit327d7882d7255c715b9296a191fbd0d28f28e917
tree8e34b7f92c01677b3b82daf9c2ba271cc2411208
parent441021efa06ee8672f282f683ccdfbbdda09f920
sar/sadf: Use size_t type for size variable in read() syscall

Use size_t type expected by read() system call to make sure size
variable cannot be negative or overflow integer capacity.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sa.h
sa_common.c
sa_conv.c
sar.c