Commit Graph

8403 Commits

Author SHA1 Message Date
Steven Morgan
9baa46aabc Change Y0da decryptor loop counter. 2015-03-17 05:31:28 -04:00
Steven Morgan
fd738c77c9 bb11281 - crash in upack.c identified and changes suggested by Sebastian Andrzej Siewior. 2015-03-17 04:36:49 -04:00
Kevin Lin
ac7a18386c updated documentation on document property collection 2015-03-16 18:35:14 -04:00
Kevin Lin
b8004b5dde set 'AllowPNG' in msxml documents to record JSON value 2015-03-16 18:26:07 -04:00
Kevin Lin
d8f7468163 ooxml: adjusted to reuse code used in msxml_parser 2015-03-16 16:48:28 -04:00
Kevin Lin
ab9611d4c1 fixed converity issue ID 12109
buffer was not freed on rare error case
2015-03-16 13:11:56 -04:00
Kevin Lin
143cf9b6fb fixed coverity ID 12110 12111
changed a the type of a value from unsigned to signed due to possible negative values
2015-03-16 13:08:03 -04:00
Kevin Lin
d2efc60c01 win32: fixed build in regards to msxml 2015-03-16 12:07:03 -04:00
Kevin Lin
c8e303f451 Merge branch 'master' into klin/msxml 2015-03-13 16:22:13 -04:00
Kevin Lin
e014b62302 code optimiztions and clean-up 2015-03-13 16:06:55 -04:00
Kevin Lin
4e2ae35b58 json_api: added parse error reporting function
msxml: added parsing error reporting to preclass json
2015-03-13 14:18:37 -04:00
Kevin Lin
d7fa810a82 msxml: added value parser, taken from ooxml parser 2015-03-13 13:29:04 -04:00
Kevin Lin
6c627868d3 msxml: added timeout checks at various processing loops 2015-03-13 13:19:20 -04:00
Kevin Lin
76074a5755 fixed filetype int magic entry for CL_TYPE_XML_XL 2015-03-13 12:37:50 -04:00
Kevin Lin
feb32f428d added key entries for parsing MS 2003 XML documents 2015-03-13 11:58:41 -04:00
Kevin Lin
66af3adf04 msxml: fixed an issue with json element counting 2015-03-13 11:45:23 -04:00
Kevin Lin
1629a6614d msxml: finished keyinfo type handling
msxml: fixed wrkptr json keyinfo type
2015-03-13 11:23:40 -04:00
Kevin Lin
e5d4ae99b7 msxml: added keyinfo type for attributes 2015-03-13 10:32:35 -04:00
Kevin Lin
6851692674 reorganized some header stuff 2015-03-12 20:00:27 -04:00
Kevin Lin
1dfb5b4a13 autojunk'd 2015-03-12 19:58:37 -04:00
Kevin Lin
5994bee6ad added new source file for shared code between ooxml and msxml 2015-03-12 19:58:16 -04:00
Steven Morgan
bc93f99717 Fix for infinite loop on crafted xz file. 2015-03-12 19:06:23 -04:00
Kevin Lin
4c9e8bbba7 added newlines for lack of libxml2 support 2015-03-12 14:29:47 -04:00
Kevin Lin
f268794f61 autojunk'd 2015-03-12 14:25:38 -04:00
Kevin Lin
1548d5de06 engine detection summary clarification 2015-03-12 14:24:53 -04:00
Kevin Lin
56895e2595 added CL_TYPE_XML_WORD and CL_TYPE_XML_XL to preclass set 2015-03-12 13:46:59 -04:00
Kevin Lin
fb34ed7408 msxml: suppresses non-critical errors from msxml_parse_element 2015-03-12 13:38:27 -04:00
Kevin Lin
c569eb0418 msxml: added support for additional xml node types 2015-03-12 13:26:05 -04:00
Kevin Lin
6b661b309e msxml: fixed an incorrect state check
msxml: added certain debug messages to verbiose messages
2015-03-12 13:04:03 -04:00
Kevin Lin
3da7c00a0a msxml: added extracting, converting, and scanning contained binary data 2015-03-12 12:46:40 -04:00
Kevin Lin
acdf9a80af msxml: basic framework for processing xml document 2015-03-11 18:57:03 -04:00
Kevin Lin
ee92bdfa4e closes libxml2 reader on ooxml reader error 2015-03-11 18:56:25 -04:00
Steven Morgan
da927b08ec Revert "bb#11267 - libclamav upx guard against signed overflows"
...causing false negatives in regression runs.

This reverts commit ca57cc3c0c.
2015-03-11 18:42:55 -04:00
Steven Morgan
0dfe95a854 bb11278 - was not detecting viruses on files inside iso9660. Also fix up all-match logic. 2015-03-11 15:03:43 -04:00
Kevin Lin
616dbf8ec5 msxml: added verbiose debugging mechanism 2015-03-11 13:41:28 -04:00
Kevin Lin
40bda57aac msxml: using piecewise parsing over contiguous parsing
reason: big files could cause issues for fmap contiguous buffering
2015-03-11 13:34:18 -04:00
Kevin Lin
4823482e9d added basic framework for msxml processing 2015-03-10 15:42:02 -04:00
Kevin Lin
de8fbeada0 autojunk'd 2015-03-10 14:21:08 -04:00
Kevin Lin
a7ad8e7a31 added new source files to handle msxml files 2015-03-10 14:17:48 -04:00
Kevin Lin
87c017bc45 corrected attribution 2015-03-10 14:16:44 -04:00
Kevin Lin
740d013e1f added file magic signatures for MSDOC 2003 XML files 2015-03-10 14:02:15 -04:00
Kevin Lin
4cdcd47de8 added enums for Word 2003 XML and Excel 2003 XML files 2015-03-10 14:01:35 -04:00
Steven Morgan
8aeedf3c42 bb11274 - adds out of bounds check for petite packed files. Patch from Sebastian Andrzej Siewior. 2015-03-09 13:02:25 -04:00
Kevin Lin
77afff9682 Merge branch 'master' of git.clam.sourcefire.com:/var/lib/git/clamav-devel 2015-03-04 14:05:13 -05:00
Kevin Lin
0945e3c5f1 updated example fileprop analysis bytecodes
moved old example bytecodes to examples/fileprop_analysis/old/
2015-03-04 14:04:45 -05:00
Kevin Lin
514dfa1e96 backwards compatibility for target type 13 json scanning 2015-03-04 12:08:55 -05:00
Kevin Lin
116169833d generates fmap from desc if no map is NULL 2015-03-03 17:47:55 -05:00
Steven Morgan
58e7f60ac2 Apply y0da cryptor patch sent in by Sebastian Andrzej Siewior. 2015-03-03 16:37:08 -05:00
Kevin Lin
8e7042beb9 flevel updated to 80 (new bytecode hook type) 2015-03-03 16:12:48 -05:00
Kevin Lin
fe54f710fc clambc info option updated for new hook type 2015-03-03 16:12:22 -05:00