Bugzilla – Bug 135607
webalizer-2.01-731: array subscript out of range
Last modified: 2006-02-10 18:52:07 UTC
I just tried to compile package webalizer-2.01-731 with a non standard version of the GNU C compiler It said dns_resolv.c:159: warning: array subscript out of range The source code is log_rec->hostname[MAXHOST]=0; but struct log_struct { char hostname[MAXHOST]; /* hostname */ so log_rec->hostname[MAXHOST] does not exist. Suggest code rework. BTW, the email address of the author seems to be broken [ brad@usagl.net ]
fixed for 10.1