Micah Snyder (micasnyd)
b9ca6ea103
Update copyright dates for 2021
...
Also fixes up clang-format.
4 years ago
Micah Snyder
9b9999d778
Rename core scanning functions
...
Many of the core scanning functions' names no longer represent their
specific purpose or arguments. This commit aims to make the names more
intuitive. Names are now prefixed with "magic" if they involve
file-typing and file-type parsing. In addition, each function now
includes the type of input being scanned whether its "desc", "fmap", or
"buff". Some of the APIs also now specify "type" to indicate that a type
other than "ANY" may be passed in to select the type rather than use
file type magic for type recognition.
| current name | new name |
| ------------------------- | --------------------------------- |
| magic_scandesc() | cli_magic_scan() |
| cli_magic_scandesc_type() | <delete> |
| cli_magic_scandesc() | cli_magic_scan_desc() |
| cli_base_scandesc() | cli_magic_scan_desc_type() |
| cli_partition_scandesc() | <delete> |
| cli_map_scandesc() | magic_scan_nested_fmap_type() |
| cli_map_scan() | cli_magic_scan_nested_fmap_type() |
| cli_mem_scandesc() | cli_magic_scan_buff() |
| cli_scanbuff() | cli_scan_buff() |
| cli_scandesc() | cli_scan_desc() |
| cli_fmap_scandesc() | cli_scan_fmap() |
| cli_scanfile() | cli_magic_scan_file() |
| cli_scandir() | cli_magic_scan_dir() |
| cli_filetype2() | cli_determine_fmap_type() |
| cli_filetype() | cli_compare_ftm_file() |
| cli_partitiontype() | cli_compare_ftm_partition() |
| cli_scanraw() | scanraw() |
5 years ago
Micah Snyder (micasnyd)
67b5bb6cd4
Fixes null-dereference in mail message parser.
5 years ago
Micah Snyder
206dbaefe8
Update copyright dates for 2020
5 years ago
Micah Snyder
479a9a235a
Fixes for issues identified by coverity.
6 years ago
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
6 years ago
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
6 years ago
Micah Snyder
38fe8b69a0
Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections.
6 years ago
Patrick Monnerat
9ead69043b
messageAddArguments: accept argument values with unbalanced quotes
...
If a quoted mime argument is unterminated, use all remaining line characters.
7 years ago
Josh Soref
7cd9337a70
Spelling Adjustments ( #30 )
...
* spelling: accessed
* spelling: alignment
* spelling: amalgamated
* spelling: answers
* spelling: another
* spelling: acquisition
* spelling: apitid
* spelling: ascii
* spelling: appending
* spelling: appropriate
* spelling: arbitrary
* spelling: architecture
* spelling: asynchronous
* spelling: attachments
* spelling: argument
* spelling: authenticode
* spelling: because
* spelling: boundary
* spelling: brackets
* spelling: bytecode
* spelling: calculation
* spelling: cannot
* spelling: changes
* spelling: check
* spelling: children
* spelling: codegen
* spelling: commands
* spelling: container
* spelling: concatenated
* spelling: conditions
* spelling: continuous
* spelling: conversions
* spelling: corresponding
* spelling: corrupted
* spelling: coverity
* spelling: crafting
* spelling: daemon
* spelling: definition
* spelling: delivered
* spelling: delivery
* spelling: delimit
* spelling: dependencies
* spelling: dependency
* spelling: detection
* spelling: determine
* spelling: disconnects
* spelling: distributed
* spelling: documentation
* spelling: downgraded
* spelling: downloading
* spelling: endianness
* spelling: entities
* spelling: especially
* spelling: empty
* spelling: expected
* spelling: explicitly
* spelling: existent
* spelling: finished
* spelling: flexibility
* spelling: flexible
* spelling: freshclam
* spelling: functions
* spelling: guarantee
* spelling: hardened
* spelling: headaches
* spelling: heighten
* spelling: improper
* spelling: increment
* spelling: indefinitely
* spelling: independent
* spelling: inaccessible
* spelling: infrastructure
Conflicts:
docs/html/node68.html
* spelling: initializing
* spelling: inited
* spelling: instream
* spelling: installed
* spelling: initialization
* spelling: initialize
* spelling: interface
* spelling: intrinsics
* spelling: interpreter
* spelling: introduced
* spelling: invalid
* spelling: latency
* spelling: lawyers
* spelling: libclamav
* spelling: likelihood
* spelling: loop
* spelling: maximum
* spelling: million
* spelling: milliseconds
* spelling: minimum
* spelling: minzhuan
* spelling: multipart
* spelling: misled
* spelling: modifiers
* spelling: notifying
* spelling: objects
* spelling: occurred
* spelling: occurs
* spelling: occurrences
* spelling: optimization
* spelling: original
* spelling: originated
* spelling: output
* spelling: overridden
* spelling: parenthesis
* spelling: partition
* spelling: performance
* spelling: permission
* spelling: phishing
* spelling: portions
* spelling: positives
* spelling: preceded
* spelling: properties
* spelling: protocol
* spelling: protos
* spelling: quarantine
* spelling: recursive
* spelling: referring
* spelling: reorder
* spelling: reset
* spelling: resources
* spelling: resume
* spelling: retrieval
* spelling: rewrite
* spelling: sanity
* spelling: scheduled
* spelling: search
* spelling: section
* spelling: separator
* spelling: separated
* spelling: specify
* spelling: special
* spelling: statement
* spelling: streams
* spelling: succession
* spelling: suggests
* spelling: superfluous
* spelling: suspicious
* spelling: synonym
* spelling: temporarily
* spelling: testfiles
* spelling: transverse
* spelling: turkish
* spelling: typos
* spelling: unable
* spelling: unexpected
* spelling: unexpectedly
* spelling: unfinished
* spelling: unfortunately
* spelling: uninitialized
* spelling: unlocking
* spelling: unnecessary
* spelling: unpack
* spelling: unrecognized
* spelling: unsupported
* spelling: usable
* spelling: wherever
* spelling: wishlist
* spelling: white
* spelling: infrastructure
* spelling: directories
* spelling: overridden
* spelling: permission
* spelling: yesterday
* spelling: initialization
* spelling: intrinsics
* space adjustment for spelling changes
* minor modifications by klin
7 years ago
Steven Morgan
0604618374
bb11944 - fix possible message.c OOB read.
8 years ago
Micah Snyder
7cf2a70104
b11939: adding fix as recommended by bug reporter along with a couple extra lines to ensure freed pointers are set to NULL.
8 years ago
Steven Morgan
f84289de35
fix for Html.Trojan.Iframe-35 false negative.
8 years ago
Steven Morgan
586a518028
bb11797 - fix invalid read in fuzzed mail file.
8 years ago
Kevin Lin
e83019ae1a
message: add preclass tracking object to message structure
9 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 years ago
Shawn Webb
1f271616be
Switch the engine to using cli_strlcat instead of strcat
11 years ago
Shawn Webb
cd94be7a52
Silence a bunch of compiler warnings in libclamav
11 years ago
Shawn Webb
60d8d2c352
Move all the crypto API to clamav.h
11 years ago
Shawn Webb
b2e7c931d0
Use OpenSSL for hashing.
11 years ago
Shawn Webb
241e7eb147
bb6258 - Add warnings when allocations fail
12 years ago
Shawn Webb
3a72170fc8
Fix CID 11338 by freeing prior to return
12 years ago
Steve Morgan
86e7c14975
fix dereference of a null pointer reported by clang analyzer
13 years ago
David Raynor
5362c7aede
bb#5450
13 years ago
Shawn webb
b2c04b6c28
BB#5449
13 years ago
David Raynor
bebd86a60b
bb#5343
13 years ago
Török Edvin
75cc6fb006
bb #3829
14 years ago
aCaB
c5bfb52e1a
purge message.c binhex parser
16 years ago
Tomasz Kojm
ec616ce0c5
libclamav: fix error reporting for BinHex files (bb#1685)
16 years ago
aCaB
58481352d5
win32 paths handling
16 years ago
Török Edvin
62b7686d21
fix trailing bytes in base64 decoding (bb #1388 , thanks Thiyaga <mthiyaga*corp.untd.com>)
...
git-svn: trunk@4974
16 years ago
aCaB
fc809c9eb7
bb#1456
...
git-svn: trunk@4926
16 years ago
aCaB
f2d79ab352
bb#1456
...
git-svn: trunk@4925
16 years ago
Török Edvin
6a21552ef2
have configure define NDEBUG unless we use --enable-debug, instead of having
...
to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert.
If you want assertions enabled you'll need to use --enable-debug to configure,
as until now, no change there.
git-svn: trunk@4343
17 years ago
Tomasz Kojm
92012beb43
libclamav/message.c, mbox.c: fix out-of-memory null dereference in mbox/message (bb#1141)
...
git-svn: trunk@4158
17 years ago
Török Edvin
4270f93bcc
(bb #913 , #916 )
...
17 years ago
Török Edvin
af9cdbe10a
avoid passing negative values to isspace
...
git-svn: trunk@3980
17 years ago
Tomasz Kojm
d076ad0251
check in 0.93 patches
...
git-svn: trunk@3788
17 years ago
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
17 years ago
Török Edvin
6351aa86fa
cli_warnmsg -> cli_dbgmsg (bb #880 ),
...
don't handle multipart/encrypted specially
git-svn: trunk@3738
17 years ago
Török Edvin
f59513f3f4
degrade some warning messages to debug (bb #880 ).
...
git-svn: trunk@3715
17 years ago
Nigel Horne
faa0d26773
A few code tidies
...
git-svn: trunk@3429
18 years ago
Tomasz Kojm
7021b54569
improved filetype detection code
...
git-svn: trunk@3421
18 years ago
Nigel Horne
9fe789f8b8
Many changes since 0.92
...
git-svn: trunk@3407
18 years ago
Nigel Horne
73ddf91f87
More cleanups
...
git-svn: trunk@3221
18 years ago
Nigel Horne
fb1487297c
--enable-debug: fix assertion
...
git-svn: trunk@3219
18 years ago
Nigel Horne
be32043eb7
More optimisations
...
git-svn: trunk@3217
18 years ago
Nigel Horne
94f051b0ac
More optimisations
...
git-svn: trunk@3213
18 years ago
Nigel Horne
30e18cafbe
Various code clean ups and optimisations
...
git-svn: trunk@3212
18 years ago
Nigel Horne
8affc4062b
Various cleanups
...
git-svn: trunk@3207
18 years ago