Commit graph

58 commits

Author SHA1 Message Date
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. 2019-10-02 16:08:19 -04:00
Micah Snyder
52cddcbcfd Updating and cleaning up copyright notices. 2019-10-02 16:08:18 -04:00
Micah Snyder
72fd33c8b2 clang-format'd using new .clang-format rules. 2019-10-02 16:08:16 -04:00
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. 2018-12-02 23:06:59 -05:00
Mickey Sola
46a35abe56 mass update of copyright headers 2015-09-17 13:41:26 -04:00
Kevin Lin
4de2f5ec2c bb#11164 - fixed invalid wrap-around read with vba inflation 2014-11-05 16:46:11 -05:00
Kevin Lin
9b38ab7248 bb#11165 - added size check to prevent invalid reads 2014-11-03 13:07:55 -05:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04:00
Steven Morgan
e182c02ce3 support libjson-c 0.10, 1.11, and 1.12 2014-05-23 09:46:06 -04:00
Kevin Lin
4c37996842 doc/ppt: moved information stream parsing from vba source to ole2 source 2014-04-21 18:30:28 -04:00
Kevin Lin
09dddc5be3 doc/ppt: added SummaryInfo and DocumentSummary streams parsing, JSON or debug 2014-04-21 16:44:26 -04:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
David Raynor
dc31213450 vba: length grab cleanup 2013-08-07 13:41:14 -04:00
David Raynor
8c66e38605 vba: grab length after middle test 2013-03-22 12:05:59 -04:00
David Raynor
d489ba8066 vba: fix vba_read_project_strings() looping and bad returns 2013-03-13 14:22:04 -04:00
David Raynor
80649b2842 cid #11398, #11400, #11401 2013-03-12 13:51:49 -04:00
Shawn Webb
241e7eb147 bb6258 - Add warnings when allocations fail 2013-03-01 13:51:15 -05:00
Shawn Webb
7e40bab956 bb6099 - check return value of lseek() 2013-02-28 21:01:40 -05: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
David Raynor
bebd86a60b bb#5343 2012-06-22 16:55:29 -04:00
Tomasz Kojm
d21fb8d975 libclamav/vba_extract.c: fix error path double free (bb#2486) 2011-02-07 17:26:45 +01:00
Tomasz Kojm
fd45238eb6 libclamav: fix some error messages (bb#2083) 2010-07-05 17:31:25 +02:00
aCaB
58481352d5 win32 paths handling 2009-09-24 19:07:39 +02:00
aCaB
081f64735d win32#2 2009-09-24 16:24:07 +02:00
Török Edvin
f6f2869f8d avoid size 1 reads for performance reasons (bb #1542).
git-svn: trunk@5037
2009-04-10 15:20:18 +00:00
Tomasz Kojm
871177cdd9 return codes cleanup (bb#1159)
git-svn: trunk@4749
2009-02-12 13:53:23 +00:00
Tomasz Kojm
33068e0973 libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
git-svn: trunk@4416
2008-11-14 22:23:39 +00:00
aCaB
ddc9e6c347 bb#1239
git-svn: trunk@4311
2008-10-30 12:26:30 +00:00
Török Edvin
e357da7b90 more leak fixes (bb #1141)
git-svn: trunk@4127
2008-08-21 15:58:02 +00:00
Tomasz Kojm
a45c7039c1 shut up some gcc warnings
git-svn: trunk@4092
2008-08-08 14:00:17 +00:00
aCaB
937ade082c fix collisions in ole2/vba
git-svn: trunk@4068
2008-08-03 14:30:33 +00:00
Tomasz Kojm
72ce4b70eb improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
git-svn: trunk@3862
2008-05-27 16:30:47 +00:00
Tomasz Kojm
2023340a41 update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
git-svn: trunk@3749
2008-04-02 15:24:51 +00:00
aCaB
c0a95e0ce6 bb#384 - unlink
git-svn: trunk@3747
2008-04-02 11:13:16 +00:00
Nigel Horne
b81763abc8 Minor code tidy
git-svn: trunk@3680
2008-02-27 10:27:05 +00:00
Tomasz Kojm
f0f7f92f9a merge security fixes
git-svn: trunk@3626
2008-02-13 10:34:58 +00:00
aCaB
bbd6ca3fbb more limits and ole2 collision fixup
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3608 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-11 13:18:41 +00:00
aCaB
2455584143 sync to trunk
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 17:50:44 +00:00
aCaB
b5231f5f67 realign structs see bb#474
git-svn: trunk@3537
2008-01-24 13:24:02 +00:00
Nigel Horne
e19ed67b7d Minor optimisation
git-svn: trunk@3482
2008-01-05 10:57:19 +00:00
Nigel Horne
169754555c More tidies
git-svn: trunk@3447
2007-12-21 11:17:25 +00:00
Nigel Horne
11d24f8a8f Code cleanup
git-svn: trunk@3432
2007-12-18 14:32:47 +00:00
Nigel Horne
faa0d26773 A few code tidies
git-svn: trunk@3429
2007-12-17 20:22:11 +00:00
Tomasz Kojm
2b4598190c use B-M to handle .hdb and .fp databases and other minor changes
git-svn: trunk@3425
2007-12-15 20:34:31 +00:00
Nigel Horne
9fe789f8b8 Many changes since 0.92
git-svn: trunk@3407
2007-12-13 16:18:18 +00:00
Tomasz Kojm
c0195d1f41 fix compilation error with --enable-debug (NJH)
git-svn: trunk@3400
2007-12-12 23:27:39 +00:00
Nigel Horne
9294cf21c5 Removed more unused code
git-svn: trunk@3368
2007-11-12 18:42:44 +00:00
Nigel Horne
ed0fd157f7 Removed more unused code
git-svn: trunk@3366
2007-11-08 15:26:14 +00:00
Nigel Horne
693805657e Added sanity check to get_unicode_name
git-svn: trunk@3361
2007-11-06 18:48:29 +00:00
Nigel Horne
d9a9e1fcbe Removed more unused code
git-svn: trunk@3359
2007-11-06 17:11:12 +00:00