diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-04-18 04:23:54 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-04-18 04:23:54 +0000 |
commit | f51825299db96aa1fe69b1cbc374f0b071df343a (patch) | |
tree | 68c0058d9d48fbb73c78b713cb95143e522c4bc8 /www/webalizer/files/patch-ac | |
parent | update target mailer.conf, to change the new entries too. (diff) |
- Update to 2.1.10,
- fixes buffer-overflow repoted on BUGTRAQ
- part of patch is now in the distribution
Notes
Notes:
svn path=/head/; revision=57837
Diffstat (limited to 'www/webalizer/files/patch-ac')
-rw-r--r-- | www/webalizer/files/patch-ac | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/www/webalizer/files/patch-ac b/www/webalizer/files/patch-ac index 8cac1f7ea721..2723bff29eb1 100644 --- a/www/webalizer/files/patch-ac +++ b/www/webalizer/files/patch-ac @@ -27,15 +27,6 @@ { *cp1='\0'; if (log_rec.url[0]=='\0') -@@ -735,7 +735,7 @@ - while ( *cp1 != '\0' ) - { - cp3=cp2; -- if (*cp1<32 || *cp1>=127 || *cp1=='<') *cp1=0; -+ if (*cp1<32 || *cp1==127 || *cp1=='<') *cp1=0; - else *cp2++=*cp1++; - } - *cp3 = '\0'; @@ -1466,19 +1466,19 @@ while ( (fgets(buffer,BUFSIZE,fp)) != NULL) { @@ -60,15 +51,6 @@ /* check if blank keyword/value */ if ( (keyword[0]=='\0') || (value[0]=='\0') ) continue; -@@ -1727,7 +1727,7 @@ - - int isurlchar(char ch) - { -- if (isalnum((int)ch)) return 1; /* allow letters, numbers... */ -+ if (isalnum((unsigned char)ch)) return 1; /* allow letters, numbers... */ - return (strchr(":/\\.,' *-+_@~()[]",ch)!=NULL); /* and a few special ones */ - } - @@ -1820,7 +1820,7 @@ if (*cp1=='+') *cp1=' '; /* change + to space */ if (sp_flg && *cp1==' ') { cp1++; continue; } /* compress spaces */ |