February 3, 2008
View baedf04

don't leave return value uninitialized. (bb #808).

Török Edvin authored on 2008/02/03 17:57:05
February 2, 2008
View b3fc7f9

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()

Török Edvin authored on 2008/02/02 04:38:52
January 25, 2008
View 288aa81

forgot to remove debug line

Török Edvin authored on 2008/01/25 19:26:06
View 1d23b7d

make iconv replacement function handle NULL args (bb #792)

Török Edvin authored on 2008/01/25 17:37:13
January 24, 2008
View b8a505e

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

Török Edvin authored on 2008/01/24 05:19:14
View 8b22c9b

optimize char reference handling

Török Edvin authored on 2008/01/24 00:43:32
January 23, 2008
View cd75ab4

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

Török Edvin authored on 2008/01/23 23:22:16
View b07ca9d

fix typo (thanks Nigel)

Török Edvin authored on 2008/01/23 02:53:02
View f2895a0

handle E2BIG correctly, avoid infinite loops on iconv errors. (bb #785)

Török Edvin authored on 2008/01/23 02:12:12
January 22, 2008
View 4812a02

fix EOF handling, bug introduced in r3515.

Török Edvin authored on 2008/01/22 03:23:42
View b0b8398

* 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

Török Edvin authored on 2008/01/22 00:52:21
January 21, 2008
View fbd8fe6

remove dead code

Török Edvin authored on 2008/01/21 07:20:17
View 4e1127c

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

Török Edvin authored on 2008/01/21 07:18:14
January 13, 2008
View 24e4c0d

don't make tmp_move negative (bb #772).

Török Edvin authored on 2008/01/13 18:37:43
January 7, 2008
View 6eac0e0

improve iconv() detection, by actually trying to link a test-program (bb #599).

Török Edvin authored on 2008/01/07 03:06:56