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 xe...@xml.apache.org on 2004/09/21 21:09:37 UTC

[jira] Closed: (XERCESC-1157) XSerializeEngine is not thread-safe

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-1157

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-1157
    Summary: XSerializeEngine is not thread-safe
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Xerces-C++
 Components: 
             Validating Parser (Schema) (Xerces 1.5 or up only)
   Versions:
             Nightly build (please specify the date)

   Assignee: 
   Reporter: David Bertoni

    Created: Wed, 18 Feb 2004 7:55 PM
    Updated: Tue, 21 Sep 2004 12:07 PM
Environment: Operating System: All
Platform: All

Description:
The loadString() functions have reference parameters, bufferLen and dataLen, 
that have as a default a static data member instance.  This is not thread-
safe, because two threads may refer to the same static data member, and 
loadString() stores critical information in these two parameters.

A proposed patch will be attached.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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