]> granicus.if.org Git - sysstat/commit
Fortify use of structures map
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 24 Sep 2017 16:16:35 +0000 (18:16 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 25 Sep 2017 15:21:42 +0000 (17:21 +0200)
commitad4fe0fef5f4a8601e29939bc85093c0f7d6f1b9
tree22a4cc70b1bb1b4f80b80fa80c38fb3d6d71d862
parent423c64f988dffee821e7f2d9fd937080ccd6f406
Fortify use of structures map

Add extra checks on *_types_nr[] values read from a file to cope with
possible corrupted files.
*_types_nr[] values give the number of fields of each type (long long,
long, int) composing a structure.

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