diff --git a/libclamav/unzip.c b/libclamav/unzip.c index d635522b8..a68e305ec 100644 --- a/libclamav/unzip.c +++ b/libclamav/unzip.c @@ -2109,7 +2109,7 @@ cl_error_t unzip_search_single(cli_ctx *ctx, const char *name, size_t nlen, uint // Search for the zip file entry in the current layer. status = unzip_search(ctx, &requests); - if (CL_SUCCESS == status) { + if (CL_VIRUS == status) { *loff = requests.loff; }