Commit graph

635 commits

Author SHA1 Message Date
Shawn Webb
5c428be3e1 Fix CIDs 12006 12004 11809 11808 11787 11728 11723 11719 11718 11717 11716 11658 11653 2014-02-19 10:03:53 -05:00
David Raynor
8e71b5c6b6 libclamav: gzip bad stream handling fix 2014-02-18 12:57:00 -05:00
Shawn Webb
b842e8bf75 Migrate ClamAV's crypto routines over to OpenSSL. 2014-02-12 17:55:38 -05:00
Kevin Lin
00acb79c35 gpt/mbr: added support to specify sector size
gpt: added sector size calculation function
2014-02-10 13:44:29 -05:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
Kevin Lin
e731850df8 fixed include warnings for windows build 2014-02-07 12:30:22 -05:00
Kevin Lin
6c2feae2be libclamav: linked MBR and APM parsing
filetypes: handled file misclassification as mbr
2014-02-06 19:01:44 -05:00
Kevin Lin
fce85dd750 libclamav: added GPT parsing for raw DMGs 2014-01-24 14:25:47 -05:00
Kevin Lin
328a33258a modified cli_map_scan and cli_map_scandesc to take a cli_file_t
modified all respective calls to the above change
2014-01-23 17:06:30 -05:00
David Raynor
15cc547293 libclamav: make cli_mem_scandesc respect --force-to-disk option 2013-12-18 17:34:21 -05:00
David Raynor
a4ce85ce6d libclamav: Have cli_map_scan check for truncation for dump-to-file case 2013-12-11 15:30:40 -05:00
Steven Morgan
c1206103b1 bb#9595 fix for sigs targeted for ascii files containing offsets of the form EOF-n. 2013-12-05 15:09:19 -08:00
David Raynor
32ba85d564 bb #9576: add fmap_dump_to_file function 2013-11-22 19:41:46 -05:00
Shawn Webb
f456c5ad1b Convert the ForceToDisk option to use the engine_options bitfield 2013-11-18 16:16:04 +00:00
David Raynor
3cab931d78 Add ForceToDisk option for clamd and force-to-disk arg for clamscan 2013-11-08 17:10:43 -05:00
Steve Morgan
60a1a1a12a Allow html detection/normalization for graphic file types. Remove dead code. 2013-10-23 16:21:46 -04:00
Steve Morgan
70ef8414df Add file type recognition for Office Open XML. 2013-10-17 16:54:21 -04:00
Steve Morgan
5a5d38e4f5 resolve some compiler warnings. 2013-10-11 12:04:29 -04:00
Steve Morgan
61fded8b09 use heap for XZ decompress buffer 2013-10-09 15:41:55 -04:00
Steve Morgan
43d7f6f64d XZ file type support 2013-10-08 17:17:44 -04:00
David Raynor
2c67b9ab90 libclamav: include hfsplus from scanners.c 2013-09-26 11:12:54 -04:00
David Raynor
1d1c4b154f bb #1570: partition typing and HFS+ 2013-09-17 16:45:48 -04:00
Steve Morgan
5e56b827e5 Implement xar support 2013-09-13 12:22:58 -04:00
David Raynor
ca019d6d94 libclamav: stub work for DMG (bb #1570) and XAR (bb #3801) formats 2013-08-27 13:44:11 -04:00
David Raynor
dd64326e89 bb #7002: safely handle hook_lsig_matches across pre-scan callbacks 2013-03-05 11:21:29 -05:00
Shawn Webb
241e7eb147 bb6258 - Add warnings when allocations fail 2013-03-01 13:51:15 -05:00
Shawn Webb
9691454612 bb6091 - check lseek() return 2013-02-28 19:32:29 -05:00
David Raynor
0b3b2924c3 cid #11072,#11138,#11329,#11330,#11331,#11332,#11333 2013-02-19 15:56:26 -05:00
Shawn Webb
59a603828b Fix CIDs 11109, 11110, 11122, 11123, 11353, 11354, 11355, 11356, 11357, 11358, 11359, 11360, 11361, 11362, 11363, 11364, 11365, 11374, 11375 2013-02-07 15:41:34 -05:00
David Raynor
1e41fdba27 bb #6678: Add runtime enable/disable of SWF scanning via option CL_SCAN_SWF 2013-02-05 19:46:56 -05:00
David Raynor
4db9cda58a bb #5324: strip down Flash file handling, decompress compressed Flash files 2013-01-15 15:42:31 -05:00
David Raynor
05fa206e1c bb #6478: better return code for truncated ARJ 2012-12-27 16:52:14 -05:00
Steve Morgan
9b6914ee3c improve return code fidelity of vba_scandata 2012-11-30 12:30:08 -08:00
Steve Morgan
ec5f4a4725 fix scan all segv handling file type MSOLE2 2012-11-30 11:16:47 -08:00
David Raynor
b2726a53d1 bb #5405: Convert hard-coded maximum file sizes to configurable values with defaults 2012-11-27 17:15:02 -05:00
Steve Morgan
da121bee02 bb5224: fix dereference of a null pointer reported by clang analyzer 2012-11-09 14:08:50 -08:00
Steve Morgan
b81cbc263c some corrections and refinements identified during 0.97 retrofit 2012-10-25 12:36:05 -07:00
Steve Morgan
6ad45a2931 add initial allscan/allmatch mode to libclamav, clamd, clamdscan, and clamscan with unit tests 2012-10-18 14:12:58 -07:00
Shawn webb
d1bfe559cd Properly calculate size of link path 2012-09-05 13:21:49 -04:00
David Raynor
e664809dd7 bb#5475 fix in cli_scan_structured 2012-07-23 14:43:36 -04:00
Shawn webb
a2a004df25 BB#3737 - Value too large for specified data type
Create compile-time preprocessor defines for switching from calling
stat() to stat64(). Add --enable-stat64 switch in configure script.
2012-07-16 15:36:49 -04:00
Shawn webb
b0d2122c07 BB#5475 2012-07-12 10:21:29 -04:00
David Raynor
087e7fc3fa Add CL_EUNPACK and caching tweak for bb#5252 2012-07-02 10:40:50 -04:00
David Raynor
1e2696b05c Return code tweaks for bb#5252 2012-06-29 14:25:38 -04:00
David Raynor
9ba8b8ca1f Limit exits on scanraw return codes bb#5252 2012-06-26 12:23:44 -04:00
David Raynor
bebd86a60b bb#5343 2012-06-22 16:55:29 -04:00
David Raynor
cdbe277986 =Update magic_scandesc filtering of scanraw return codes 2012-06-18 17:44:32 -04:00
aCaB
ed98fae7ad bb#4669 2012-05-08 15:35:26 +02:00
Tomasz Kojm
0926bc6cb4 libclamav: fix macro detection in OLE2BlockMacros (bb#4269) 2012-01-25 18:57:42 +01:00
aCaB
98626d6268 update cryptff 2012-01-18 18:46:32 +01:00