You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Kent Vander Velden <gr...@iastate.edu> on 2002/02/28 22:35:30 UTC

Re: Solaris + gcc problems (BUG)

  Ok, looks like a bug.  In UnixHTTPURLInputStream.cpp, the following


    if (queryAsCharStar != 0)
    {
        fBuffer[strlen(fBuffer)] = chQuestion;
        strcat(fBuffer, queryAsCharStar);
    }


should be

    if (queryAsCharStar != 0)
    {
        size_t n = strlen(fBuffer);
        fBuffer[n] = chQuestion;
        fBuffer[n+1] = '\0';
        strcat(fBuffer, queryAsCharStar);
    }

 
  This is relative to the stable version.

  BTW: Any pointers on debugging with GDB and exceptions would be greatly
appreciated.

  Thanks.

---
Kent Vander Velden
kent@iastate.edu

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