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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to