You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/03/11 22:08:24 UTC

cvs commit: xml-xerces/c/src/xercesc/util/NetAccessors/Socket UnixHTTPURLInputStream.cpp

peiyongz    02/03/11 13:08:24

  Modified:    c/src/xercesc/util/NetAccessors/Socket
                        UnixHTTPURLInputStream.cpp
  Log:
  Bug#7000: fix to corrupted URL, patch from kent@iastate.edu (Kent)
  
  Revision  Changes    Path
  1.2       +6 -1      xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp
  
  Index: UnixHTTPURLInputStream.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UnixHTTPURLInputStream.cpp	1 Feb 2002 22:22:23 -0000	1.1
  +++ UnixHTTPURLInputStream.cpp	11 Mar 2002 21:08:23 -0000	1.2
  @@ -56,8 +56,11 @@
   
   /*
    * $Log: UnixHTTPURLInputStream.cpp,v $
  - * Revision 1.1  2002/02/01 22:22:23  peiyongz
  - * Initial revision
  + * Revision 1.2  2002/03/11 21:08:23  peiyongz
  + * Bug#7000: fix to corrupted URL, patch from kent@iastate.edu (Kent)
  + *
  + * Revision 1.1.1.1  2002/02/01 22:22:23  peiyongz
  + * sane_include
    *
    * Revision 1.7  2001/09/04 17:53:09  peiyongz
    * Bugzilla# 3170: patch from Kevin Philips to handle Query in XMLURL.
  @@ -196,7 +199,9 @@
   
       if (queryAsCharStar != 0)
       {		
  -	fBuffer[strlen(fBuffer)] = chQuestion;
  +        size_t n = strlen(fBuffer);
  +        fBuffer[n] = chQuestion;
  +        fBuffer[n+1] = chNull;
           strcat(fBuffer, queryAsCharStar);
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org