Package: webalizer
Version: 2.01.10-27

hello,
i have noticed, that webalizer crashes, when parsing some of our numerous 
apache logs.
I have been little investigating and isolated this line in logs
66.249.72.204 - - [18/Nov/2005:19:40:08 +0100] "GET / HTTP/1.1" 200 4781 "-" 
"Nokia6820/2.0 (4.83) Profile/MIDP-1.0 Configuration/CLDC-1.0 (compatible; 
Googlebot-Mobile/2.1; +http://www.google.com/bot.html)"

After trying to find out whats wrong, i found out, that replacing ';' 
character following Googlebot-Mobile/2.1 does the trick. 
When you remove it still segfaults , when you add another ; somewhere segfault 
stays.
I can get rid of it, when i set MangleAgents to 2 (we use 1)

i run it thru debugger, i think, it crashes on line 843 in webalizer.c
while (*cp1!=')'&&*cp1!='\0') *cp2++=*cp1++;

but it looks like some king of magic :)

can you please tell me whats wrong?

thanks

libor klepac

Attachment: pgpRhtZyAvgbB.pgp
Description: PGP signature

Reply via email to