Hi
I am doing a very simple AES instansiation, And it fails with
unhandled exception because of memory management problems.
The code that I wrote is:
byte key[AES::DEFAULT_KEYLENGTH];
memset(key, 0x00, AES::DEFAULT_KEYLENGTH);
AES::Encryption aesEncryption(key, 16);
->
There is an MSVC window with the message "unhandled exception at xxx:
Access violation reading location yyy"
The error happens because CryptoPP tries to free a pointer that was
not allocated !!! in the function
AllocatorWithCleanup.deallocate() !!!
I am using version 5.5.1, with MSVC2005 SP1, Using CryptoPP as a
static library, and the runtime libraries are "multi-threaded debug"
Can someone help me with this problem ???
Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---