bb#11164 - fixed invalid wrap-around read with vba inflation

pull/7/merge
Kevin Lin 11 years ago
parent d6968402e3
commit 4de2f5ec2c
  1. 1
      libclamav/vba_extract.c

@ -513,6 +513,7 @@ cli_vba_inflate(int fd, off_t offset, int *size)
if(b == NULL)
return NULL;
memset(buffer, 0, sizeof(buffer));
lseek(fd, offset+3, SEEK_SET); /* 1byte ?? , 2byte length ?? */
clean = TRUE;
pos = 0;

Loading…
Cancel
Save