httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@hyperreal.org
Subject cvs commit: apache/src util.c
Date Mon, 05 Jan 1998 20:57:25 GMT
marc        98/01/05 12:57:25

  Modified:    src      Tag: APACHE_1_2_X util.c
  Log:
  Ensure that the buffer returned by ht_time is always properly null
  terminated.
  
  Reviewed by:	Martin Kraemer, Mark J Cox, Dean Gaudet, Randy Terbush
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.52.2.5  +1 -0      apache/src/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/util.c,v
  retrieving revision 1.52.2.4
  retrieving revision 1.52.2.5
  diff -u -r1.52.2.4 -r1.52.2.5
  --- util.c	1998/01/05 20:56:28	1.52.2.4
  +++ util.c	1998/01/05 20:57:24	1.52.2.5
  @@ -83,6 +83,7 @@
   
       /* check return code? */
       strftime(ts,MAX_STRING_LEN,fmt,tms);
  +    ts[MAX_STRING_LEN - 1] = '\0';
       return pstrdup (p, ts);
   }
   
  
  
  

Mime
View raw message