Török Edvin
a6de01aa14
handle NULL characters in HTML files. (bb #539 ).
...
git-svn: trunk@3543
18 years ago
Tomasz Kojm
9518ee069d
rewrite file/folder handling code as a complete and proper solution for bb#730
...
git-svn: trunk@3542
18 years ago
Tomasz Kojm
0514d610eb
improve performance of cabinet extractor (bb#730)
...
git-svn: trunk@3541
18 years ago
Török Edvin
288aa81040
forgot to remove debug line
...
git-svn: trunk@3540
18 years ago
Török Edvin
1d23b7deaa
make iconv replacement function handle NULL args (bb #792 )
...
git-svn: trunk@3539
18 years ago
Nigel Horne
e906fef3ec
Use cli_strcasestr
...
git-svn: trunk@3538
18 years ago
aCaB
b5231f5f67
realign structs see bb#474
...
git-svn: trunk@3537
18 years ago
Török Edvin
b8a505eeda
optimize u16_normalize, encode as hex entities (Ȁ)
...
update dependencies to rebuild on hashtab.c change
support keys with common prefix by checking match length
update due to hashtab change
git-svn: trunk@3536
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
b07ca9d9c6
fix typo (thanks Nigel)
...
git-svn: trunk@3527
18 years ago
Török Edvin
f2895a0d7c
handle E2BIG correctly, avoid infinite loops on iconv errors. (bb #785 )
...
git-svn: trunk@3525
18 years ago
Török Edvin
4812a022c4
fix EOF handling, bug introduced in r3515.
...
git-svn: trunk@3519
18 years ago
Tomasz Kojm
1d643803e5
drop internal snprintf implementation
...
git-svn: trunk@3518
18 years ago
Tomasz Kojm
3c5f7c0814
use %lu/(unsigned long int) instead of %ju/(uintmax_t) (bb#444)
...
git-svn: trunk@3516
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
0bc4d4742a
fix a gcc warning (bb #786 ). Thanks to Gianluigi Tiesi <sherpya*netfarm.it>
...
git-svn: trunk@3513
18 years ago
Török Edvin
fbd8fe6916
remove dead code
...
git-svn: trunk@3512
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
aCaB
1cd33a3451
nsis bb#738 and misc stuff
...
git-svn: trunk@3505
18 years ago
Tomasz Kojm
4097ef050d
disable some debug spam
...
git-svn: trunk@3504
18 years ago
Tomasz Kojm
5a85b33374
remove experimental JS and PST code
...
git-svn: trunk@3501
18 years ago
aCaB
3c9e2d22b3
win32 chm unlinking
...
git-svn: trunk@3500
18 years ago
Török Edvin
24e4c0d457
don't make tmp_move negative (bb #772 ).
...
git-svn: trunk@3499
18 years ago
Török Edvin
3eaf4ea6b2
Fix build problem on OpenBSD: don't compile in functions depending on pthreads
...
into libclamav_internal_utils.a, because clamdscan is compiled without pthreads.
git-svn: trunk@3498
18 years ago
Tomasz Kojm
ab04d1f232
fix loading of .cld files on some platforms (bb#770)
...
git-svn: trunk@3497
18 years ago
aCaB
95a3076a15
stale files removed
...
git-svn: trunk@3496
18 years ago
Tomasz Kojm
9381324adf
avoid holes in often used data structures (bb#748);
...
git-svn: trunk@3495
18 years ago
Tomasz Kojm
e8fcc7cd3d
fix printing of size_t and off_t vars (bb#444)
...
git-svn: trunk@3493
18 years ago
Tomasz Kojm
12a7b4fbff
improve cli_rndnum() and cli_gentempfd()
...
git-svn: trunk@3490
18 years ago
Tomasz Kojm
638d881d9f
gzdopen() may not close fd
...
git-svn: trunk@3488
18 years ago
Tomasz Kojm
68a364d4e2
fix error path leak
...
git-svn: trunk@3487
18 years ago
Tomasz Kojm
c8f2d06055
re-enable text detection (ASCII, UTF8, UTF16)
...
git-svn: trunk@3486
18 years ago
Török Edvin
6eac0e0612
improve iconv() detection, by actually trying to link a test-program (bb #599 ).
...
git-svn: trunk@3485
18 years ago
Török Edvin
a0e5e84425
avoid bringing in checks for languages we don't use (decreases configure size by 300Kb+).
...
git-svn: trunk@3484
18 years ago
Nigel Horne
e19ed67b7d
Minor optimisation
...
git-svn: trunk@3482
18 years ago
aCaB
7e05c02537
fix warnings
...
git-svn: trunk@3481
18 years ago
aCaB
5da8ac360a
explode: big endian support
...
git-svn: trunk@3479
18 years ago
aCaB
eacbc5f0c3
it must be the drinks :)
...
git-svn: trunk@3478
18 years ago
aCaB
cf6a4ce4f5
unzip/implode support - forgot some debug
...
git-svn: trunk@3477
18 years ago
aCaB
f8be651b43
unzip/implode support
...
git-svn: trunk@3476
18 years ago
Török Edvin
80cf63099c
add support for version scripts when using Sun's ld on Solaris.
...
use $GREP to grep binary files, needed for autoit to build on Solaris.
add support for both GNU and Sun ld version scripts.
add version script maps to libclamunrar, libclamunrar_iface. Enumerate all symbols, Sun's ld doesn't support cl_* (only *).
cli_decodesig needs a dummy definition on Solaris.
git-svn: trunk@3474
18 years ago
Török Edvin
a8ece7ba0a
optimize cli_strcasestr()
...
git-svn: trunk@3472
18 years ago
Nigel Horne
8af5d4c6a1
Bug 693
...
git-svn: trunk@3471
18 years ago
Török Edvin
343dd145fd
fix typo causing build failure with Sun's cc on Solaris.
...
Add missing pack pragmas.
git-svn: trunk@3470
18 years ago
Török Edvin
dbe2f388e9
the ugly hack isn't needed on Solaris after all, if building with system zlib. Instead defining only Z_BLOCK is enough.
...
git-svn: trunk@3467
18 years ago
aCaB
9f0d9b9890
make gcc 3.4.6 build on solaris
...
git-svn: trunk@3466
18 years ago
Török Edvin
bdd702c57e
fix typo causing build failure on ppc.
...
minor cleanup in Makefiles.
git-svn: trunk@3465
18 years ago
Török Edvin
3c5655fb6f
add missing version script
...
git-svn: trunk@3464
18 years ago
Török Edvin
097455e1c4
add ld version script support.
...
cl_ symbols are exported with a CLAMAV_PUBLIC version,
cli_ symbols with a CLAMAV_PRIVATE version.
TODO: reduce number of cli_* symbols exported.
clamav-milter/Makefile.in/am: fix out-of-tree builds of manpage.
git-svn: trunk@3463
18 years ago