You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2004/08/12 19:48:36 UTC
cvs commit: httpd-2.0/server protocol.c
wrowe 2004/08/12 10:48:36
Modified: server protocol.c
Log:
Fix signedness emit.
Revision Changes Path
1.150 +1 -1 httpd-2.0/server/protocol.c
Index: protocol.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- protocol.c 28 Jun 2004 23:53:52 -0000 1.149
+++ protocol.c 12 Aug 2004 17:48:35 -0000 1.150
@@ -717,7 +717,7 @@
*/
apr_size_t fold_len = last_len + len + 1; /* trailing null */
- if ((fold_len - 1) > r->server->limit_req_fieldsize) {
+ if (fold_len > r->server->limit_req_fieldsize + 1) {
r->status = HTTP_BAD_REQUEST;
/* report what we have accumulated so far before the
* overflow (last_field) as the field with the problem