Micah Snyder
206dbaefe8
Update copyright dates for 2020
2020-01-03 15:44:07 -05:00
Micah Snyder
0c555069fa
fuzz - 13495 - Fix for memory leak due to lacking error handling when normalizing javascript.
2019-10-02 16:08:24 -04:00
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
2019-10-02 16:08:18 -04:00
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.
2019-10-02 16:08:17 -04:00
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
2019-10-02 16:08:16 -04:00
Steven Morgan
22cb38ed24
pull request #53(2/4): Spelling fix by klemens(ka7).
2016-10-19 15:57:45 -04:00
Mickey Sola
2e67cefc17
bb11445 - fixing edge case where a null terminator was unintentionally written into an adjacent buffer.
2015-12-17 12:47:00 -05:00
Mickey Sola
46a35abe56
mass update of copyright headers
2015-09-17 13:41:26 -04:00
Kevin Lin
8af6e5a215
bb#11217 - fixed starting unary plus on string
2014-12-09 11:02:31 -05:00
Kevin Lin
086ad39377
Revert "bb#11217 - fixed js normalization parsing of single-line comments"
...
This reverts commit 27ef872f85 .
2014-12-09 10:57:59 -05:00
Kevin Lin
27ef872f85
bb#11217 - fixed js normalization parsing of single-line comments
2014-12-02 16:51:37 -05:00
Shawn Webb
60d8d2c352
Move all the crypto API to clamav.h
2014-07-01 19:38:01 -04:00
Shawn Webb
b2e7c931d0
Use OpenSSL for hashing.
2014-02-08 00:31:12 -05:00
Török Edvin
4b2ade1d3b
Fix the FreeBSD crash fix (bb #1727 ).
2009-10-26 18:14:48 +02:00
Török Edvin
b0033c8f56
Fix crash on FreeBSD 6.4 (bb #1727 ).
2009-10-26 17:23:12 +02:00
aCaB
b3722aeb52
win32 ltdl interface
2009-10-12 23:36:13 +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
Tomasz Kojm
cc447ac82c
configure, libclamav: fix compile issues on IRIX (bb#1532)
2009-08-04 23:17:28 +02:00
Török Edvin
2686c7badb
fix possible signedness issue (thanks Nigel).
...
git-svn: trunk@5017
2009-04-02 20:53:52 +00:00
Török Edvin
fe389c841d
reorder fields (bb #1144 )
...
git-svn: trunk@4830
2009-02-18 19:53:28 +00:00
Tomasz Kojm
871177cdd9
return codes cleanup (bb#1159)
...
git-svn: trunk@4749
2009-02-12 13:53:23 +00:00
Tomasz Kojm
72fb25eaf0
libclamav/str.c: return token count in cli_strtokenize()
...
libclamav/readdb.c: use tokens_count (bb#1331); make the parser more strict
git-svn: trunk@4593
2009-01-05 19:57:47 +00:00
aCaB
094104a7ac
preliminary dlopen support for libclamunrar - this is mostly libtool stuff
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4360 77e5149b-7576-45b1-b177-96237e5ba77b
2008-11-09 18:23:04 +00:00
Török Edvin
2bbbd2380f
reorder some struct fields to avoid holes
...
git-svn: trunk@4355
2008-11-08 16:26:30 +00:00
Török Edvin
08402afa4c
fix more compiler warnings (bb #273 )
...
git-svn: trunk@4353
2008-11-07 18:49:47 +00:00
Török Edvin
b9b477842d
fix compiler warnings, more to come (bb #273 )
...
git-svn: trunk@4346
2008-11-06 14:27:43 +00:00
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
2008-11-06 14:27:18 +00:00
Török Edvin
a66b62f88b
handle unfinishes string tokens in JS parser
...
git-svn: trunk@4247
2008-10-11 10:27:27 +00:00
aCaB
1405207a2b
bb#1219
...
git-svn: trunk@4229
2008-10-07 13:35:21 +00:00
Török Edvin
1279faf61e
add htmlnorm unit tests and fix jsnorm space normalization
...
git-svn: trunk@4201
2008-09-23 20:52:22 +00:00
Török Edvin
72733fbabb
fix infloop in jsnorm (bb #1146 )
...
add unit test for bb #1146
git-svn: trunk@4138
2008-08-25 12:39:09 +00:00
Tomasz Kojm
bd02147fe4
fix typo in previous commit
...
git-svn: trunk@4135
2008-08-24 21:25:42 +00:00
Tomasz Kojm
c73454f99c
add missing include
...
git-svn: trunk@4134
2008-08-24 21:13:28 +00:00
Tomasz Kojm
69df34a08a
fix possible oob idx
...
git-svn: trunk@4106
2008-08-12 10:09:15 +00:00
Török Edvin
fb6208fd12
fixes for bb #177 :
...
if all we have is a script in a html file still normalize it
keep global scope, we need it to parse variable names in the correct scope
git-svn: trunk@4058
2008-08-01 14:50:50 +00:00
Török Edvin
6ba8b9503c
lowercase JS parser output
...
git-svn: trunk@4057
2008-08-01 14:50:45 +00:00
Török Edvin
d39b528106
recursion limit for self-protection
...
remove some TODOs that no longer apply
git-svn: trunk@4027
2008-07-29 16:52:48 +00:00
Török Edvin
533e76aa5e
cleanup
...
some more unit tests
git-svn: trunk@3958
2008-07-16 09:53:18 +00:00
Török Edvin
474431d506
use the pointer returned from realloc, because it can change location.
...
not doing so leads to hard to reproduce bugs!
git-svn: trunk@3956
2008-07-16 08:44:37 +00:00
Török Edvin
ff97b85be3
add comment
...
git-svn: trunk@3952
2008-07-15 14:41:36 +00:00
Török Edvin
377a2330a1
more unit tests for js-norm
...
fix js-norm bugs discovered during unit testing
git-svn: trunk@3951
2008-07-15 14:31:33 +00:00
Török Edvin
61eb9432e8
fix OpenBSD build problem
...
git-svn: trunk@3932
2008-07-10 11:10:54 +00:00
Török Edvin
eb2901515b
move cli_unescape, and cli_textbuffer_append_normalize to str.c
...
add unit-test for cli_textbuffer_append_normalize
fix a bug in cli_textbuffer_append_normalize shown by unit-test
git-svn: trunk@3930
2008-07-10 10:29:29 +00:00
Török Edvin
37e6472959
more unit tests for js normalizer
...
git-svn: trunk@3925
2008-07-08 19:37:18 +00:00
Török Edvin
4a6ade4489
add all needed files to EXTRA_DIST (to fix make distcheck)
...
create unit tests for js normalizer
cleanups
git-svn: trunk@3924
2008-07-08 19:02:15 +00:00
Török Edvin
8be1d5a4bb
enable JS normalizer
...
git-svn: trunk@3919
2008-07-08 11:33:32 +00:00
Török Edvin
ba47dee1df
disable main()
...
git-svn: trunk@3918
2008-07-07 19:12:18 +00:00
Török Edvin
fd08e02ea3
add Javascript normalizer (not yet enabled)
...
git-svn: trunk@3917
2008-07-07 19:10:50 +00:00