activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQCPP-596) decaf/internal/security/provider/crypto/MD4MessageDigestSpi.cpp:394]: (error) Mismatching allocation and deallocation: temp
Date Wed, 06 Apr 2016 16:18:25 GMT

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

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

Commit 2774f6a14f29fd882d82c838f76652f9afe61f3e in activemq-cpp's branch refs/heads/master
from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-cpp.git;h=2774f6a ]

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

Use proper array delete operator.

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

Mime
View raw message