summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2019-10-20 09:19:02 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2019-10-20 09:19:02 +0200
commitfe6759703ce692025e928f943ca394a1185c1915 (patch)
tree03b58707ce0419267dfeda82680ec6d7f299549f
parent87db0e5911aa655d6992293bd9956d9678929060 (diff)
src/file_zip.c: remove useless test
-rw-r--r--src/file_zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index 11f2cc9..417bd3d 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -465,7 +465,7 @@ static int zip_parse_file_entry(file_recovery_t *fr, const char **ext, const uns
#ifdef DEBUG_ZIP
log_trace("Searched footer, got length %lli\n", (long long int)pos);
#endif
- if (pos < 0 || pos > 0x7fffffffffffffff)
+ if (pos < 0)
return -1;
if (pos > 0)
{