Mutex class allows for double free in APR pools under certain circumstances
---------------------------------------------------------------------------
Key: AMQCPP-227
URL: https://issues.apache.org/activemq/browse/AMQCPP-227
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: Decaf
Affects Versions: 2.2.4, 3.0
Reporter: Timothy Bish
Assignee: Timothy Bish
Priority: Critical
Fix For: 2.2.5, 3.0
The Mutex class in the Decaf library can allow for two copies to be created
which both share pointers to APR resources and when the second instance is
destroyed a segfault occurs. The code needs to be correct to properly copy
itself or prevent copying altogether so that this does not happen.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.