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 vif_neon segmentation fault #1245

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Fix vif_neon segmentation fault #1245

merged 1 commit into from
Nov 1, 2023

Conversation

nilfm
Copy link
Contributor

@nilfm nilfm commented Nov 1, 2023

The variable i_dst_stride is being updated inside the main loop. See lines 258 and 403. The way it's being used in the "scalar code for horizontal leftover" loop is incorrect - it should not be multiplied by i.

This bug affects neon code on widths not divisible by 32.

Addresses #1181

@kylophone
Copy link
Collaborator

lgtm

@nilfm nilfm merged commit 2603932 into master Nov 1, 2023
9 of 17 checks passed
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.

3 participants