diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2002-07-15 17:44:19 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2002-07-15 17:44:19 +0000 |
commit | fe86d9462b9f7c9a9ed5f9a55ce0c4b36b7a4927 (patch) | |
tree | 4c5b0300bf8b1c77ca94c7d53c2f36129c6fb1ac /www/wwwoffle | |
parent | New port okle version 0.2.2: oKle is a KDE frontend to the Ogle DVD (diff) |
wwwoffle segfaulted when receiving "Content-Length" header field with
negative integer.
Submitted by: Niels Heinen <niels.heinen@ubizen.com>
Obtained from: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=152758
Notes
Notes:
svn path=/head/; revision=63006
Diffstat (limited to 'www/wwwoffle')
-rw-r--r-- | www/wwwoffle/Makefile | 1 | ||||
-rw-r--r-- | www/wwwoffle/files/patch-src::parse.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile index 06ad745ddc25..b07529e202b4 100644 --- a/www/wwwoffle/Makefile +++ b/www/wwwoffle/Makefile @@ -7,6 +7,7 @@ PORTNAME= wwwoffle PORTVERSION= 2.7c +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://www.gedanken.freeserve.co.uk/download-wwwoffle/ EXTRACT_SUFX= .tgz diff --git a/www/wwwoffle/files/patch-src::parse.c b/www/wwwoffle/files/patch-src::parse.c new file mode 100644 index 000000000000..05ba79c921cf --- /dev/null +++ b/www/wwwoffle/files/patch-src::parse.c @@ -0,0 +1,11 @@ +--- src/parse.c- Tue Jul 16 02:38:21 2002 ++++ src/parse.c Tue Jul 16 02:38:36 2002 +@@ -180,7 +180,7 @@ + if(!strcmp("POST",(*request_head)->method) || + !strcmp("PUT",(*request_head)->method)) + { +- if(length==-1) ++ if(length<0) + {free(url);return(NULL);} + + *request_body=CreateBody(length); |