httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Thu, 25 Mar 2004 02:20:28 GMT
stoddard    2004/03/24 18:20:28

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES STATUS
               server   Tag: APACHE_2_0_BRANCH core.c
  Log:
  Can't assume the filepointer is really 0 when offset is 0. A handler can create brigades
containing multiple file buckets with arbitrary offsets
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.988.2.261 +5 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.260
  retrieving revision 1.988.2.261
  diff -u -r1.988.2.260 -r1.988.2.261
  --- CHANGES	25 Mar 2004 02:16:18 -0000	1.988.2.260
  +++ CHANGES	25 Mar 2004 02:20:26 -0000	1.988.2.261
  @@ -1,5 +1,10 @@
   Changes with Apache 2.0.50
   
  +  *) core_output_filter: Fix bug that could result in sending
  +     garbage over the network when module handlers construct
  +     bucket brigades containing multiple file buckets all referencing
  +     the same open file descriptor. [Bojan Smojver]
  +
     *) Fix memory corruption problem with ap_custom_response() function.
        The core per-dir config would later point to request pool data
        that would be reused for different purposes on different requests.
  
  
  
  1.751.2.769 +1 -9      httpd-2.0/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/STATUS,v
  retrieving revision 1.751.2.768
  retrieving revision 1.751.2.769
  diff -u -r1.751.2.768 -r1.751.2.769
  --- STATUS	25 Mar 2004 02:07:27 -0000	1.751.2.768
  +++ STATUS	25 Mar 2004 02:20:27 -0000	1.751.2.769
  @@ -77,14 +77,6 @@
              support/ab.c: r1.143
          +1: jjclar
   
  -    *) Bojan Smojver's fix to core_output_filter emulate_sendfile()
  -       Fix bug that could result in sending garbage over the network 
  -       when module handlers construct bucket brigades containing 
  -       multiple file buckets all referencing the same open file 
  -       descriptor.
  -           server/core.c?r1=1.268&r2=1.269
  -       +1: stoddard, rederpj, jwoolley
  -
       *) work around MSIE Digest auth bug - if AuthDigestEnableQueryStringHack
          is set in r->subprocess_env allow mismatched query strings to pass.
          PR: 27758
  
  
  
  No                   revision
  No                   revision
  1.225.2.19 +1 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.225.2.18
  retrieving revision 1.225.2.19
  diff -u -r1.225.2.18 -r1.225.2.19
  --- core.c	25 Mar 2004 02:07:28 -0000	1.225.2.18
  +++ core.c	25 Mar 2004 02:20:27 -0000	1.225.2.19
  @@ -2985,7 +2985,7 @@
       }
   
       /* Seek the file to 'offset' */
  -    if (offset != 0 && rv == APR_SUCCESS) {
  +    if (offset >= 0 && rv == APR_SUCCESS) {
           rv = apr_file_seek(fd, APR_SET, &offset);
       }
   
  
  
  

Mime
View raw message