pitrou opened a new issue, #43221:
URL: https://github.com/apache/arrow/issues/43221

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Currently, `AesEncryptor::Make` returns a raw `AesEncryptor*` and relies on 
the caller to explicit call `delete` when done with the instance. This is 
unsafe, since if an exception is thrown while using the encryptor, it won't be 
deallocated; not only this is a memory leak, but it might (?) also be a 
security problem if the corresponding OpenSSL cipher object keeps confidential 
data around.
   
   
   
   ### Component(s)
   
   C++, Parquet


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to