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

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

    [ https://issues.apache.org/jira/browse/AMQCPP-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228546#comment-15228546 ] 

ASF subversion and git services commented on AMQCPP-596:
--------------------------------------------------------

Commit 3aaa85c803fa1ed58c61f924e60ca62f95779632 in activemq-cpp's branch refs/heads/3.9.x from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-cpp.git;h=3aaa85c ]

https://issues.apache.org/jira/browse/AMQCPP-596

Use proper array delete operator.
(cherry picked from commit 2774f6a14f29fd882d82c838f76652f9afe61f3e)


> 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)