httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/server core.c
Date Sun, 26 Aug 2001 17:38:14 GMT
dougm       01/08/26 10:38:14

  Modified:    server   core.c
  Log:
  apr_pstrcat args were not NULL terminated
  
  Revision  Changes    Path
  1.49      +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.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- core.c	2001/08/26 05:10:17	1.48
  +++ core.c	2001/08/26 17:38:14	1.49
  @@ -1527,7 +1527,7 @@
   	r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);
       }
       else if (cmd->path[strlen(cmd->path) - 1] != '/') {
  -        cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/");
  +        cmd->path = apr_pstrcat(cmd->pool, cmd->path, "/", NULL);
   
           if (!strcmp(cmd->path, "/") == 0) 
           {
  
  
  

Mime
View raw message