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

Check for sane data in old clipping module #17097

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

jenshannoschwalm
Copy link
Collaborator

We don't want to fix bugs in that module any longer, yet it is good to avoid crashes due to insane roi_out data calculations.

Fixes #17095

As that module is deprecated there will be no relevant bug-fixing. Yet at least we should make dt stable and not crashing due to insane roi_out calculations.

See the provided image and sidecar in the OP issue.

I guess this should be safe for 4.8.1 as we have the same string already in codebase. Right?

@jenshannoschwalm jenshannoschwalm added the bugfix pull request fixing a bug label Jul 6, 2024
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a string fix. TIA.

src/iop/clipping.c Outdated Show resolved Hide resolved
We don't want to fix bugs in that module any longer, yet it is good to avoid crashes due to insane
roi_out data calculations.
@jenshannoschwalm
Copy link
Collaborator Author

fixed, squashed and force-pushed

Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@TurboGit TurboGit merged commit 3b958b3 into darktable-org:master Jul 7, 2024
6 checks passed
@TurboGit TurboGit added this to the 4.8.1 milestone Jul 7, 2024
@jenshannoschwalm jenshannoschwalm deleted the clipping_sanity branch July 7, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix pull request fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buffer overflow detected when running darktable-generate-cache
2 participants