From 9339874f3764fe99a408aec1a814b19c77f5dfe1 Mon Sep 17 00:00:00 2001 From: Dave Anderson Date: Mon, 30 Oct 2017 14:33:15 -0400 Subject: [PATCH] Removed a check for a negative block_size value which is always a non-negative unsigned value in the SADUMP header parsing function. (oleksandr@redhat.com) --- sadump.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sadump.c b/sadump.c index 2ccfa82f..6b912d4e 100644 --- a/sadump.c +++ b/sadump.c @@ -157,9 +157,6 @@ read_dump_header(char *file) } restart: - if (block_size < 0) - return FALSE; - if (!read_device(sph, block_size, &offset)) { error(INFO, "sadump: cannot read partition header\n"); goto err;