httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/proxy proxy_ftp.c
Date Wed, 19 May 2004 16:15:54 GMT
trawick     2004/05/19 09:15:53

  Modified:    modules/proxy proxy_ftp.c
  Log:
  apr_pstrcat() needs NULL at end of parameter list to know
  when to stop (mississi^#@75UiSIGSEGV)
  
  Revision  Changes    Path
  1.142     +1 -1      httpd-2.0/modules/proxy/proxy_ftp.c
  
  Index: proxy_ftp.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/proxy/proxy_ftp.c,v
  retrieving revision 1.141
  retrieving revision 1.142
  diff -u -r1.141 -r1.142
  --- proxy_ftp.c	19 May 2004 13:30:14 -0000	1.141
  +++ proxy_ftp.c	19 May 2004 16:15:53 -0000	1.142
  @@ -206,7 +206,7 @@
           sport[0] = '\0';
   
       if (ap_strchr_c(host, ':')) { /* if literal IPv6 address */
  -        host = apr_pstrcat(p, "[", host, "]");
  +        host = apr_pstrcat(p, "[", host, "]", NULL);
       }
       r->filename = apr_pstrcat(p, "proxy:ftp://", (user != NULL) ? user : "",
                                 (password != NULL) ? ":" : "",
  
  
  

Mime
View raw message