Files
clamav/libclamav
Micah Snyder (micasnyd) a71eb34999 Fix invalid zip & macho scan recursion
If zip content is detected within a file by way of the embedded file
type recognition scan (in `scanraw()`), a raw scan of that "ZIPSFX" will
detect all subsequent zip entries as new ZIPSFX's. Though they aren't
actually scanned later, it shows up in the metadata JSON. This commit
prevents embedded file type detection for ZIPSFX like we already have
for ZIP.

Semi-related, the mach-o unibin parser presently allows scanning of FAT
partitions anywhere in the fmap, to include the very beginning of the
fmap. This would be an infinite loop, scanning the same file over and
over again, were it not for the scan recursion limit. With the recursion
limit, it's ok, but still bad behavior. This commit prevents scanning
FAT files from the mach-o unibin parser where the offset is less than
the end of the headers.

Also fixed an unsigned integer comparison in the OLE2 parser that
might overflow.
2021-06-17 11:30:23 -07:00
..
2021-03-19 15:12:26 -07:00
2020-08-13 00:25:34 -07:00
2020-06-03 11:00:53 -04:00
2019-10-02 16:08:25 -04:00
2016-02-29 11:09:09 -05:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-04-09 19:08:14 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2020-08-13 00:25:34 -07:00
2014-07-31 19:11:22 -04:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2021-05-27 14:16:00 -07:00
2020-08-13 00:25:34 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2012-05-15 12:02:41 -04:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-06-03 08:19:37 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-31 12:16:41 -07:00
2021-03-31 12:16:41 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-01-28 12:54:50 -08:00
2020-06-03 10:39:18 -04:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-04-09 19:08:14 -07:00
2020-08-13 00:25:34 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2018-02-27 22:00:09 -05:00
2018-02-27 22:00:09 -05:00
2018-02-27 22:00:09 -05:00
2018-02-27 22:00:09 -05:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2020-06-03 11:00:40 -04:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-06-17 11:30:23 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 19:45:12 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2020-08-13 00:25:34 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-05-27 14:16:00 -07:00
2021-05-27 14:16:00 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2020-08-13 00:25:34 -07:00
2020-08-13 00:25:34 -07:00
2014-02-25 15:04:58 -05:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2020-08-13 00:25:34 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2020-08-13 00:25:34 -07:00
2014-02-04 10:14:25 -05:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2020-06-03 11:00:40 -04:00
2020-06-03 10:39:18 -04:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2015-05-28 18:00:16 -04:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00
2021-03-19 15:12:26 -07:00