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 if blurRadius is <= 0.0f in applyBlurOnImage #13

Merged
merged 1 commit into from
Apr 8, 2014

Conversation

zkwentz
Copy link
Contributor

@zkwentz zkwentz commented Apr 8, 2014

If blurRadius comes into applyBlurOnImage as exactly 0.0f for whatever reason (including in my case, explictly setting it to that, vImageBoxConvolve_ARGB8888 will throw an EXC_BAD_ACCESS error, as boxSize is set to -1.

can result in EXC_BAD_ACCESS during image convolution otherwise.
@kronik kronik merged commit 8573cc1 into kronik:master Apr 8, 2014
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.

None yet

2 participants