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

Fix: Error when loading sampled images #339

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

leonlatsch
Copy link
Owner

@leonlatsch leonlatsch commented Jul 2, 2024

Description:

  • Load images as whole bitmap and not as buffered source

Explaination
Loading AES/GCM encrypted files buffered/sampled. Causes the stream to skip bytes which is not allowed in AES/GCM.

Since this raises the issue of crashing with very big images again. This is once of the reasons I want to overhaul the encryption some day to not use GCM anymore #204

Fixes #330

@leonlatsch leonlatsch added the bug Something isn't working label Jul 2, 2024
@leonlatsch leonlatsch self-assigned this Jul 2, 2024
@leonlatsch leonlatsch changed the title Prevent loading images buffered/sampled Fix:Error when loading sampled images Jul 2, 2024
@leonlatsch leonlatsch changed the title Fix:Error when loading sampled images Fix: Error when loading sampled images Jul 2, 2024
@leonlatsch leonlatsch merged commit c9bfeb4 into develop Jul 2, 2024
2 checks passed
@leonlatsch leonlatsch deleted the feature/fix-image-rendering branch July 2, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Most pictures are not rendered
1 participant