Use of gethostbyname() in Socket.cpp isn't thread safe
------------------------------------------------------
Key: QPID-1722
URL: https://issues.apache.org/jira/browse/QPID-1722
Project: Qpid
Issue Type: Bug
Components: C++ Broker, C++ Client
Affects Versions: M4, M3, M2.1, M2, M1
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher
Fix For: M5
Using gethostbyname() like this in multiple threads at once (for instance
connecting simultaneously) may cause client/broker crashes
The best fix is to replace the old API used with the re-entrant and more
featureful getaddrinfo() API
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]