[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

aCaB acab at clamav.net
Sun Apr 4 01:26:56 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 13529b8e40ac89ff45b8c39da78f7ebfc7b13e51
Author: aCaB <acab at clamav.net>
Date:   Sun Mar 28 22:16:54 2010 +0200

    bb#1906

diff --git a/libclamav/ishield.c b/libclamav/ishield.c
index 786dde7..bbdec10 100644
--- a/libclamav/ishield.c
+++ b/libclamav/ishield.c
@@ -684,6 +684,7 @@ static int is_extract_cab(cli_ctx *ctx, uint64_t off, uint64_t size, uint64_t cs
 
     if(!(tempfile = cli_gentemp(ctx->engine->tmpdir))) {
 	free(outbuf);
+	return CL_EMEM;
     }
     if((ofd = open(tempfile, O_RDWR|O_CREAT|O_TRUNC|O_BINARY, S_IRUSR|S_IWUSR)) < 0) {
 	cli_errmsg("is_extract_cab: failed to create file %s\n", tempfile);

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list