Skip to content

fix: Don't dereference null surface props #154

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
Apr 10, 2025

Conversation

jeromelaban
Copy link

Description of Change

This change fixes a null reference when invoking SKImage.FromPicture with a null parameter

SkiaSharp Issue

Related to https://github.com/mono/SkiaSharp/issues/

API Changes

None.

Behavioral Changes

None.

Required SkiaSharp PR

Requires https://github.com/mono/SkiaSharp/pull/

PR Checklist

  • Rebased on top of skiasharp at time of PR
  • Changes adhere to coding standard
  • Updated documentation

@jeromelaban jeromelaban marked this pull request as ready for review April 2, 2025 01:05
@mattleibow mattleibow merged commit 0cbb3a9 into mono:skiasharp Apr 10, 2025
1 check passed
mattleibow added a commit that referenced this pull request Apr 10, 2025
mattleibow added a commit that referenced this pull request Apr 10, 2025
mattleibow added a commit that referenced this pull request Apr 10, 2025
mattleibow added a commit that referenced this pull request Apr 10, 2025
* Revert "Revert "fix: Don't dereference null surface props (#154)" (#155)"

This reverts commit de43121.

* Fix surface properties handling in sk_image.cpp
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.

2 participants