file_magic->header_size is an unsigned int value and so cannot be
strictly less than 0 [CID#127473].
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
if ((n != FILE_MAGIC_SIZE) ||
(file_magic->sysstat_magic != SYSSTAT_MAGIC) ||
((file_magic->format_magic != FORMAT_MAGIC) && !ignore) ||
- (file_magic->header_size < MIN_FILE_HEADER_SIZE) ||
+ (file_magic->header_size <= MIN_FILE_HEADER_SIZE) ||
(file_magic->header_size > MAX_FILE_HEADER_SIZE) ||
((file_magic->header_size < FILE_HEADER_SIZE) && !ignore)) {
/* Display error message and exit */