Commit Graph

3087 Commits (440f1fffc67e8102c89f02fb1abe2db57fbdd272)

Author SHA1 Message Date
Shawn Webb 440f1fffc6 Add the ability to parse arrays in PDFs. Check if the /Kids count doesn't match /Count for /Pages objects in PDFs. 11 years ago
Shawn Webb 6c77ac61ff Enhance the libjson m4 macros 11 years ago
Shawn Webb 9363412bbb bb11041 - Add cl_initialize_crypto() to the example file 11 years ago
Shawn Webb ca78e3b35c Add support for noting which objects have Colors properties greater than 2**24 11 years ago
Shawn Webb 558d953bdd Fix case when libiconv is not available 11 years ago
Shawn Webb ec3c89dbe7 Make a few adjustments after a code review of the PDF string parsing function 11 years ago
Shawn Webb cd1d52d184 Fix a couple bugs and add the ability to note which objects contain Javascript 11 years ago
Shawn Webb c3649f0cc2 Add some sanity checking 11 years ago
Shawn Webb 661b53face Add missing return to an error condition 11 years ago
Kevin Lin 5899095f46 CID 12072 - added mssing return 11 years ago
Shawn Webb 084707b3a9 Squash a few bugs. Enhance the code that pulls out indirect object references with strings. Get at more PDF properties. 11 years ago
Shawn Webb d7ee9b8145 Add additional helper functions to simplify working with JSON arrays 11 years ago
Steven Morgan 49b33289e0 Add timeout facility for file property scanning and clamscan timeout testing parameter. 11 years ago
Shawn Webb c2ff4bf468 Remove accidentally committed code that changes a debug message to an error message 11 years ago
Shawn Webb 754f976a34 Get the Subject, Title, and Keywords in the PDF 11 years ago
Shawn Webb 8c13241c90 Decode from UTF-16 to UTF-8 rather than to ASCII 11 years ago
Shawn Webb 5091689d30 Handle hex strings. Fix a couple bugs when handling indirect objects. 11 years ago
Shawn Webb 60a467e5fe Refactor the UTF-* to ASCII conversion code 11 years ago
Shawn Webb a5570b7921 Plug memory leak 11 years ago
Shawn Webb 1412b807df If an indirect object is specified, then try to use that. 11 years ago
Steven Morgan 0ffdebcae3 bz10893: fixes bug for hash calculations when using --allmatch. 11 years ago
Steven Morgan 6c048b8a30 Use json_object_object_get_ex() rather than json_object_object_get(), which is deprecated in json-c 0.10 11 years ago
Kevin Lin dec128ce32 CIDs 12063 12064 - missing returns 11 years ago
Steven Morgan 7d1d148a33 Support directory paramater for ./configure --with-libjson. Only support libjson 0.10, 0.11, 0.12. 11 years ago
Kevin Lin 0549eff04d ole2: fixed an off-by-one issue with UTF-16 string parsing 11 years ago
Kevin Lin d6c60c4c6f ole2: fixed an issue with extremely long names 11 years ago
Kevin Lin 5d93a53789 downgraded nullargs to json api from error to debug messages 11 years ago
Kevin Lin 152a0e3900 added cl_engine_set_clcb_file_props to libclamav map 11 years ago
Shawn Webb 76aa0fc55a Add explanitory comments to the new pdf_parse_string function 11 years ago
Steven Morgan 6606d05000 Add callback for user processing of json string and result of json scan. 11 years ago
Kevin Lin 9048572cec bytecode_api: fixed variable assignment issue 11 years ago
Kevin Lin c6a3b294a9 bytecode: fixed a compiler issue and warnings 11 years ago
Kevin Lin 3107a6c24f bytecode: fixed issue with older versions of g++ 11 years ago
Shawn Webb c1a785c4ef Part one of fixing a crash that happens when grabbing certain PDF properties 11 years ago
Shawn Webb 636b717835 Add more file and section flags to the json properties file for PE files 11 years ago
Kevin Lin 09317562d9 rolled back changes from bb#8352 - fixes ppc unit tests 11 years ago
Shawn Webb 91099b6c86 Fix linking in libjson for FreeBSD 11 years ago
Shawn Webb 404c3e3895 Add JSON CPPFLAGS to libclamavcxx 11 years ago
Steven Morgan ff9a5639d1 Revise libjson configuration macro. 11 years ago
Shawn Webb b3c40dc6f9 Properly upconvert from char to int 11 years ago
Shawn Webb 7be9dd2fa5 Fix typo 11 years ago
Shawn Webb d881c11653 Fix Solaris/sparc64 issue with stats 11 years ago
Shawn Webb f944b68243 Fix typo 11 years ago
Shawn Webb bd58e2ab3c Wrap the iconv variables in an #if HAVE_ICONV 11 years ago
Shawn Webb e746f010a1 Fix Windows buildbot - Only try unicode conversion if libiconv is available 11 years ago
Shawn Webb 27d0dd6a60 Show stats debugging messages in freshclam if --debug --verbose is passed in 11 years ago
Shawn Webb 9ccc6a204a Fix a few bugs with the PDF code 11 years ago
Shawn Webb 69080de380 Clean up some PDF code 11 years ago
Shawn Webb c147fd0180 Use the right macro for detecting AIX 11 years ago
Shawn Webb 063f0d2562 Parse the Author, Producer, Creator, CreationDate, and ModDate PDF flags 11 years ago