Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heap corruption #23

Open
nato4r opened this issue Mar 15, 2019 · 1 comment
Open

Heap corruption #23

nato4r opened this issue Mar 15, 2019 · 1 comment

Comments

@nato4r
Copy link

nato4r commented Mar 15, 2019

QByteArray decrypted_file_buffer_1 = QAESEncryption::Decrypt(QAESEncryption::AES_256, QAESEncryption::CBC, encrypted_file_buffer_1, hash_key, hash_iv);

QByteArray decrypted_file_buffer_2 = QAESEncryption::Decrypt(QAESEncryption::AES_256, QAESEncryption::CBC, encrypted_file_buffer_2, hash_key, hash_iv);

Calling like this for multiple file buffers results in random heap corruption.
It doesn't happen while using openssl.

@bricke
Copy link
Owner

bricke commented Mar 21, 2019

Could you write a test for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants