httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_io.c
Date Tue, 22 Jan 2002 06:26:07 GMT
jerenkrantz    02/01/21 22:26:07

  Modified:    modules/ssl ssl_engine_io.c
  Log:
  If we would exhaust the buffer entirely, set it to NULL rather than
  point at the end of the buffer with a length of 0.
  
  Revision  Changes    Path
  1.55      +1 -1      httpd-2.0/modules/ssl/ssl_engine_io.c
  
  Index: ssl_engine_io.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_io.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- ssl_engine_io.c	19 Jan 2002 07:45:18 -0000	1.54
  +++ ssl_engine_io.c	22 Jan 2002 06:26:07 -0000	1.55
  @@ -321,7 +321,7 @@
           return 0;
       }
   
  -    if (buffer->length >= inl) {
  +    if (buffer->length > inl) {
           /* we have have enough to fill the caller's buffer */
           memcpy(in, buffer->value, inl);
           buffer->value += inl;
  
  
  

Mime
View raw message