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

access violation upon null deref #2645

Open
Herringway opened this issue Feb 28, 2022 · 2 comments
Open

access violation upon null deref #2645

Herringway opened this issue Feb 28, 2022 · 2 comments

Comments

@Herringway
Copy link

I am not sure of the circumstances that lead to this happening, but SSL_get_ex_data can return null, which causes a crash in tls.vibe.stream.openssl.OpenSSLContext.verify_callback when it tries to use vdata. I haven't been able to find something that can reproduce it reliably, but I've seen it happen a few times.

@Geod24
Copy link
Contributor

Geod24 commented Aug 3, 2022

Which OpenSSL version ? Did you see it with v0.9.5 as well ?

@Herringway
Copy link
Author

OpenSSL 1.1.1l. I didn't test it with 0.9.5, but vibe.d still doesn't check if that function encountered an error, so I doubt it has changed at all

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

No branches or pull requests

2 participants