Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.9.0, 3.9.1, 3.9.2, 3.9.3
-
None
-
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