httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Thu, 12 Aug 2004 17:48:36 GMT
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
  
  
  

Mime
View raw message