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

Tomasz Kojm tkojm at clamav.net
Sun Apr 4 01:03:40 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 7962075a04b8203fe49389021a5100a7fe64c843
Author: Tomasz Kojm <tkojm at clamav.net>
Date:   Tue Sep 1 20:59:14 2009 +0200

    missing return

diff --git a/libclamav/matcher-bm.c b/libclamav/matcher-bm.c
index aa876fe..44f6083 100644
--- a/libclamav/matcher-bm.c
+++ b/libclamav/matcher-bm.c
@@ -157,6 +157,7 @@ int cli_bm_initoff(const struct cli_matcher *root, struct cli_bm_off *data, int
     if(!root->bm_patterns) {
 	data->offtab = data->offset = 0;
 	data->cnt = data->pos = 0;
+	return CL_SUCCESS;
     }
     memset(&info, 0, sizeof(info));
     if(fstat(fd, &sb) == -1) {

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list