diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2002-07-16 01:44:19 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2002-07-16 01:44:19 +0800 |
commit | 27e1634e46ecd0e7c7eaef7555913afe70e6481a (patch) | |
tree | a15d71ba41bfb5fa1391a96493fdb774b9be05ae /www/wwwoffle/files | |
parent | 3b37e75069ec4beecb19dee46b046cad8429f1d2 (diff) | |
download | freebsd-ports-gnome-27e1634e46ecd0e7c7eaef7555913afe70e6481a.tar.gz freebsd-ports-gnome-27e1634e46ecd0e7c7eaef7555913afe70e6481a.tar.zst freebsd-ports-gnome-27e1634e46ecd0e7c7eaef7555913afe70e6481a.zip |
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
Diffstat (limited to 'www/wwwoffle/files')
-rw-r--r-- | www/wwwoffle/files/patch-src::parse.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); |