Skip to content

Commit

Permalink
Removed a check for a negative block_size value which is always a
Browse files Browse the repository at this point in the history
non-negative unsigned value in the SADUMP header parsing function.
(oleksandr@redhat.com)
  • Loading branch information
Dave Anderson committed Oct 30, 2017
1 parent 0f40db8 commit 9339874
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sadump.c
Expand Up @@ -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;
Expand Down

0 comments on commit 9339874

Please sign in to comment.