Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-596

decaf/internal/security/provider/crypto/MD4MessageDigestSpi.cpp:394]: (error) Mismatching allocation and deallocation: temp

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.0, 3.9.1, 3.9.2, 3.9.3
    • Fix Version/s: 3.9.4
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              dcb David Binderman

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment