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

Make CompressorImageRef safer #3

Open
aclysma opened this issue Feb 14, 2021 · 0 comments
Open

Make CompressorImageRef safer #3

aclysma opened this issue Feb 14, 2021 · 0 comments

Comments

@aclysma
Copy link
Owner

aclysma commented Feb 14, 2021

It's possible to get a CompressorImageRef from CompressorParams, drop CompressorParams, and cause undefined behavior by using CompressorImageRef. Some API improvements would enable rust borrow checking to catch this at compile time.

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

1 participant