Micah Snyder
206dbaefe8
Update copyright dates for 2020
5 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
ce2dcb5392
bb11432 - cleaning up additional warning messages.
8 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 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
aCaB
2455584143
sync to trunk
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Török Edvin
baedf04d66
don't leave return value uninitialized. (bb #808 ).
...
git-svn: trunk@3575
18 years ago
Török Edvin
7067a88c9b
enum encodings was missing (bb #807 )
...
git-svn: trunk@3574
18 years ago
Török Edvin
6a9b1e91e0
clean up header
...
git-svn: trunk@3572
18 years ago
Török Edvin
b3fc7f9747
use entconv to detect UTF-16BE, and UCS-4 variants
...
use only cli_readline() we don't need exact conversion
drop unused functions,
simplify encoding_norm_readline(), and rename to encoding_normalize_toascii()
git-svn: trunk@3571
18 years ago
Török Edvin
1d23b7deaa
make iconv replacement function handle NULL args (bb #792 )
...
git-svn: trunk@3539
18 years ago
aCaB
b5231f5f67
realign structs see bb#474
...
git-svn: trunk@3537
18 years ago
Török Edvin
8b22c9b52a
optimize char reference handling
...
git-svn: trunk@3532
18 years ago
Török Edvin
cd75ab404e
fix valid characters table for encoding name
...
skip \0 characters
account for alignfix when calculating offset
reset iconv state before reusing
fix entity handling
fix memory leaks reported by valgrind
remove unused fields
git-svn: trunk@3531
18 years ago
Török Edvin
b0b8398b48
* contrib/entitynorm:
...
* use fewer entities, browsers don't support all either.
* update to generate code for new entconv.
* no need for configure, use just a simple Makefile
(it is an internal tool)
libclamav/entconv.c, hashtab.c, htmlnorm.c:
* don't allocate memory for each entity_norm call.
* don't touch length of mmaped area (bb #785 )
* update htmlnorm to use new entity_norm
git-svn: trunk@3515
18 years ago
Török Edvin
4e1127c594
AC_TRY_LINK already adds a main(), remove duplicate main()
...
entconv improvements to improve security and performance
Part I for (bb #686 , #386 )
TODO:
* optimize entity_norm
* create testfiles for unicode encoding variants
* create a regression test
* check for memory leaks
git-svn: trunk@3511
18 years ago
Török Edvin
38a0019993
stick to GPLv2
...
git-svn: trunk@3121
18 years ago
Sven Strickroth
a99111f050
remove old CVS-stuff and make the repository look more like SVN
...
git-svn: trunk@2755
19 years ago
Tomasz Kojm
c8184020c4
apply entconv patch from Edwin
...
git-svn: trunk@2675
19 years ago
Tomasz Kojm
6db2c87d07
s/stdint/cltypes
...
git-svn: trunk@2646
19 years ago
Tomasz Kojm
3506ac49f7
add encoding and entity normalizer from Edwin (bb#145)
...
git-svn: trunk@2577
19 years ago