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

ClearImage can go "out of bounds" #379

Closed
Stoppedpuma opened this issue Jun 22, 2024 · 1 comment
Closed

ClearImage can go "out of bounds" #379

Stoppedpuma opened this issue Jun 22, 2024 · 1 comment

Comments

@Stoppedpuma
Copy link
Collaborator

Clearing all images leads to these errors:

ERROR oculante::image_loader] Can't determine image type
ERROR oculante::utils] No such file or directory (os error 2)

thread 'main' panicked at src/scrubber.rs:65:22:
removal index (is 4) should be < len (is 4)

@woelper
Copy link
Owner

woelper commented Jun 22, 2024

Great catch. I had safe methods for these already, I was just too stupid to use them.

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