Commit Graph

157 Commits (2e55c901b1b0571a340602ee2681255876f63f1a)

Author SHA1 Message Date
mko-x a21cc6dcd7
Add explicit log level parameter to application logging API 4 years ago
micasnyd 140c88aa4e Bump copyright for 2022 4 years ago
Micah Snyder db013a2bfd libclamav: Fix scan recursion tracking 4 years ago
Andy Ragusa 11b069db59 Added malloc error handling macros to ole2_extract 4 years ago
Andy Ragusa c40eaa9c77 Do not set status on read error 4 years ago
Andy Ragusa 9c69c91338 Corrected status to CL_EMEM when cli_calloc fails. 4 years ago
Andy Ragusa 2c17b878bf Initialize the whole biff_parser_state struct to 0, to avoid uninitialized value warnings. 4 years ago
Micah Snyder 22c724cf78 HWP: remove unused signature field from JSON 4 years ago
Micah Snyder 81402e1abb Inline doxygen documentation fixup 4 years ago
Micah Snyder 7c25968eb9 OLE2: doc summary, emb. ole10 scans skipped if XLM macro found 4 years ago
Micah Snyder 90e4d66f7c OLE2 / XLS document image extraction 4 years ago
Micah Snyder (micasnyd) a71eb34999 Fix invalid zip & macho scan recursion 5 years ago
Micah Snyder (micasnyd) f79df484be Fix Excel XLM formula parser infinite loop 5 years ago
Micah Snyder (micasnyd) b9ca6ea103 Update copyright dates for 2021 5 years ago
Andrew 035265b96f Bug fixes related to the recent HFS+/VBA/OLE2/XLM code changes 6 years ago
Micah Snyder c110392780 Change permission for new tmp files from RWX to RW 6 years ago
Micah Snyder 9b9999d778 Rename core scanning functions 6 years ago
Micah Snyder 005cbf5a37 Record names of extracted files 6 years ago
Jonas Zaddach (jzaddach) d5a733ef90 XLM (Excel 4.0) macro detection and extraction 6 years ago
Jonas Zaddach (jzaddach) b7f8440965 Modernize VBA code extraction from Microsoft Office files 6 years ago
Micah Snyder 898c08f08b Formatting touch-up 6 years ago
Micah Snyder 206dbaefe8 Update copyright dates for 2020 6 years ago
Mickey Sola e044303b5f oss-fuzz - fixup fixes for ole2 and macho based on review 6 years ago
Mickey Sola 15167db0f9 oss-fuzz - 13609 - fix int overflow while reading ole2 blocks 6 years ago
Micah Snyder 4524c398f3 Argument and return types for fmap_readn(), cli_writen(), cli_readn() converted to use size_t instead of int. 6 years ago
Micah Snyder 50f178dc63 fuzz - 12166 - Fix for 4-byte out of bounds write wherein the an invalid struct pointer member variable is set to zero. The fix adds bounds checking to the Uniq storage 'add' function as well as error code checks. Included a lot of new inline documentation. 6 years ago
Micah Snyder 098d2adb09 fuzz - 12122 - Fix to memory leak by properly free'ing the dirname variable in OLE2 parser. 6 years ago
Mickey Sola d86e0a3be7 fuzz - 12528 - fixing left shift issue with OLE2 and utf16 to ascii decoding 6 years ago
Micah Snyder 52cddcbcfd Updating and cleaning up copyright notices. 6 years ago
Micah Snyder b3e82e5e61 Replacing libclamav/cltypes.h with clamav-types.h.in, which generates a header clamav-types.h that we install alongside clamav.h. 6 years ago
Micah Snyder 72fd33c8b2 clang-format'd using new .clang-format rules. 6 years ago
Micah Snyder d39cb6581f Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames. 7 years ago
Micah Snyder d7979d4ff7 Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files. 7 years ago
Micah Snyder 6289eda8e0 Eliminating AUTHORS file, and moving acknowledgements for various source code contributions to the file comment blocks for the individual files, as appropriate. 8 years ago
Micah Snyder 4cd97da451 eliminating warnings, mostly with regards to signed vs unsigned comparisons, some of which could have been functional bugs if negative values were used (for offsets, etc). cleaned up a couple of macros and cleaned up some ifdefs. 8 years ago
Micah Snyder 0190dbbf72 minor commit, removing checks against unsigned integers being less than zero, also testing pre-commit hook 8 years ago
Kevin Lin c2d987818a ole2: added debug message handler_otf stream -> tempfile 10 years ago
Kevin Lin d45186458b squash hwp amd msxml parser memory leaks 10 years ago
Kevin Lin 8d952a32fe alternative fix to OLE2 is_hwp uninitialization 10 years ago
Steven Morgan f444aff6bc fix regression crash on sid 1005597703 due to uninitialzed (i.e., garbage initialized) structure. 10 years ago
Steven Morgan 85c6edd7aa bb11456 - corrects mso stream prefix value for big endian processors. Patch by Jim Morris. 10 years ago
Kevin Lin cd8bceda77 add HWP5 filetype tracking to preclassification 10 years ago
Kevin Lin 9103b7e984 various name changes and dereference fix 10 years ago
Kevin Lin 5acdcfcb17 add hwp5 contents to preclass set 10 years ago
Kevin Lin 9a1232d280 HWP: parsing and scanning, add new source files 10 years ago
Kevin Lin 5fce7b44f1 proper identification of HWP file format 10 years ago
Mickey Sola 46a35abe56 mass update of copyright headers 10 years ago
Kevin Lin ac5da57a5c minor changes for solaris compatibility 10 years ago
Kevin Lin 39d7174433 cid 12153 - simplify null ctx check in mso scanning 10 years ago
Kevin Lin d6a0dec35a bb#11369 - allow for partial last block in ole2 11 years ago