remotes/push_mirror/valgrind-mpool
aCaB 14 years ago
parent bcf979719b
commit 4842733eb3
  1. 4
      ChangeLog
  2. 2
      libclamav/matcher-hash.c

@ -1,3 +1,7 @@
Mon Jul 25 14:33:59 CEST 2011 (acab)
------------------------------------
* libclamav/matcher-hash.c: off by one read in cli_hm_scan (bb#2818)
Tue Jul 19 18:30:53 CEST 2011 (acab)
------------------------------------
* libclamav/autoit.c: avoid dumping uninit data on autoit failure (bb#3051)

@ -219,7 +219,7 @@ int cli_hm_scan(const unsigned char *digest, uint32_t size, const char **virname
keylen = hashlen[type];
l = 0;
r = szh->items;
r = szh->items - 1;
while(l <= r) {
size_t c = (l + r) / 2;
int res = hm_cmp(digest, &szh->hash_array[keylen * c], keylen);

Loading…
Cancel
Save