webalizer/webalizer-2.01-10-overflow.patch
cvsdist 1aa9cabecf auto-import changelog data from webalizer-2.01_10-18.src.rpm
Thu Jan 08 2004 Joe Orton <jorton@redhat.com> 2.01_10-18
- update default config
Thu Jan 08 2004 Joe Orton <jorton@redhat.com> 2.01_10-17
- add fix for #111433
Fri Nov 28 2003 Joe Orton <jorton@redhat.com> 2.01_10-16
- merge from Taroon
Tue Oct 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- add %clean specfile target
Fri Aug 01 2003 Joe Orton <jorton@redhat.com> 2.01_10-15.ent
- support large (>2gb) log files on 32-bit platforms
- move default output directory to /var/www/usage
- add conf.d/webalizer.conf to add alias for /usage
- only allow access to usage stats from localhost by default
- change default config: don't ignore out-of-sequence log entries, count
    .php and .shtml as "page" extensions.
Thu Jul 03 2003 Joe Orton <jorton@redhat.com>
- rebuilt
2004-09-09 14:20:56 +00:00

11 lines
521 B
Diff

--- webalizer-2.01-10/dns_resolv.c.overflow 2004-01-08 14:51:04.000000000 +0000
+++ webalizer-2.01-10/dns_resolv.c 2004-01-08 14:51:11.000000000 +0000
@@ -156,7 +156,7 @@
strncpy (log_rec->hostname,
((struct dnsRecord *)response.data)->hostName,
MAXHOST);
- log_rec->hostname[MAXHOST]=0;
+ log_rec->hostname[MAXHOST-1]=0;
if (debug_mode)
fprintf(stderr," found: %s (%ld)\n",
log_rec->hostname, alignedRecord.timeStamp);