You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "David Binderman (JIRA)" <ji...@apache.org> on 2016/04/06 17:02:25 UTC

[jira] [Created] (AMQCPP-596) decaf/internal/security/provider/crypto/MD4MessageDigestSpi.cpp:394]: (error) Mismatching allocation and deallocation: temp

David Binderman created AMQCPP-596:
--------------------------------------

             Summary: decaf/internal/security/provider/crypto/MD4MessageDigestSpi.cpp:394]: (error) Mismatching allocation and deallocation: temp
                 Key: AMQCPP-596
                 URL: https://issues.apache.org/jira/browse/AMQCPP-596
             Project: ActiveMQ C++ Client
          Issue Type: Bug
            Reporter: David Binderman
            Assignee: Timothy Bish
            Priority: Minor


        temp = new unsigned char[length];
        input.get(temp, length, 0, length);
        engineUpdate(temp, length, 0, length);
        delete temp;

Wrong delete. Suggest use delete [].

Also, some possible duplicates:

[decaf/internal/security/provider/crypto/MD5MessageDigestSpi.cpp:441]: (error) Mismatching allocation and deallocation: temp
[decaf/internal/security/provider/crypto/SHA1MessageDigestSpi.cpp:333]: (error) Mismatching allocation and deallocation: temp





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)