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

[C++][Parquet] Guard against use of decryptor/encryptor after wipe out #43946

Closed
pitrou opened this issue Sep 4, 2024 · 1 comment
Closed

Comments

@pitrou
Copy link
Member

pitrou commented Sep 4, 2024

Describe the enhancement requested

According to #43057 (comment), in some cases a AesEncryptor or AesDecryptor might be used after its WipeOut method was called. This will typically produce a crash in OpenSSL. Instead, we might check whether the encryptor/decryptor was wiped out and error out.

Component(s)

C++, Parquet

pitrou added a commit to pitrou/arrow that referenced this issue Sep 4, 2024
pitrou added a commit to pitrou/arrow that referenced this issue Sep 4, 2024
pitrou added a commit to pitrou/arrow that referenced this issue Sep 4, 2024
pitrou added a commit to pitrou/arrow that referenced this issue Sep 4, 2024
pitrou added a commit to pitrou/arrow that referenced this issue Sep 5, 2024
pitrou added a commit that referenced this issue Sep 5, 2024
…ptor (#43947)

This is to get a clearer error rather than an obscure crash, see #43057 for an example.

* GitHub Issue: #43946

Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
@pitrou
Copy link
Member Author

pitrou commented Sep 5, 2024

Issue resolved by pull request 43947
#43947

@pitrou pitrou added this to the 18.0.0 milestone Sep 5, 2024
@pitrou pitrou closed this as completed Sep 5, 2024
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this issue Sep 6, 2024
…/encryptor (apache#43947)

This is to get a clearer error rather than an obscure crash, see apache#43057 for an example.

* GitHub Issue: apache#43946

Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
khwilson pushed a commit to khwilson/arrow that referenced this issue Sep 14, 2024
…/encryptor (apache#43947)

This is to get a clearer error rather than an obscure crash, see apache#43057 for an example.

* GitHub Issue: apache#43946

Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
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

1 participant