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 bu...@apache.org on 2001/10/16 23:13:22 UTC

DO NOT REPLY [Bug 4213] New: - BinHTTPURLInputStream initialisation not thread safe

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4213

BinHTTPURLInputStream initialisation not thread safe

           Summary: BinHTTPURLInputStream initialisation not thread safe
           Product: Xerces-C++
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Utilities
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: mark@npsl.co.uk


Uses a flag `fInitialised' to see if the Winsock DLL has been loaded.  This flag is used without mutex protection, which under circumstances where multiple calls are in progress causes failure, usually by one of the calls accessing the uninitialised function pointers.

Patch supplied, patch is against current CVS version + patch for bug #4121 (BinHTTPUrlInputStream  needds to read entire HTTP header).

Mark

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