You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2016/04/06 18:23:25 UTC
[jira] [Updated] (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:all-tabpanel ]
Timothy Bish updated AMQCPP-596:
--------------------------------
Affects Version/s: 3.9.0
3.9.1
3.9.2
3.9.3
> 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
> Affects Versions: 3.9.0, 3.9.1, 3.9.2, 3.9.3
> Reporter: David Binderman
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 3.9.4
>
>
> 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)