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

Bug on egl.choose_config vec size #21

Closed
lattice0 opened this issue May 28, 2022 · 1 comment
Closed

Bug on egl.choose_config vec size #21

lattice0 opened this issue May 28, 2022 · 1 comment

Comments

@lattice0
Copy link

on egl.choose_config, if you pass an empty vector, you get a segfault

I had to do

let mut configs = Vec::with_capacity(10);

but this should be fixed as it's a vulnerability

@timothee-haudebourg
Copy link
Owner

Thanks, that's indeed a vulnerability. The same issue arises with get_configs.

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