Skip to content

conva: fix a crash with {u,}{short,int} images #4055

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

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

kleisauke
Copy link
Member

{u,}{short,int} images should use {u,}short as an intermediate type when the length of the longest line is below 256.

Resolves: #1162.

@lovell
Copy link
Member

lovell commented Jul 18, 2024

Should we target the 8.15 branch for this (assuming a possible 8.15.3 release)?

@kleisauke kleisauke changed the base branch from master to 8.15 July 18, 2024 19:38
@kleisauke
Copy link
Member Author

Good idea. Targeted against the 8.15 branch and added a changelog note.

{u,}{short,int} images should use {u,}short as an intermediate type
when the length of the longest line is below 256.

Resolves: libvips#1162.
@kleisauke kleisauke changed the title conva: fix crash with {u,}{short,int} images conva: fix a crash with {u,}{short,int} images Jul 18, 2024
@kleisauke
Copy link
Member Author

CI will be fixed via PR #4057.

@jcupitt
Copy link
Member

jcupitt commented Jul 19, 2024

Ah nice. Yes, I lost enthusiasm for approximate convolution and never really finished it :( Thanks for picking this up!

@jcupitt jcupitt merged commit 8e0e8fe into libvips:8.15 Jul 19, 2024
4 of 6 checks passed
@kleisauke kleisauke deleted the issue-1162 branch July 19, 2024 17:51
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

Successfully merging this pull request may close these issues.

segfault in python or libvips during approximate convolution of a short or ushort image
3 participants