Skip to content

[imageio] Check if the WebPPictureImportRGBX call was successful - #21971

Open
victoryforce wants to merge 1 commit into
darktable-org:masterfrom
victoryforce:check-WebPPictureImportRGBX-return-value
Open

[imageio] Check if the WebPPictureImportRGBX call was successful#21971
victoryforce wants to merge 1 commit into
darktable-org:masterfrom
victoryforce:check-WebPPictureImportRGBX-return-value

Conversation

@victoryforce

Copy link
Copy Markdown
Collaborator

The WebPPictureImportRGBX call may fail because it allocates memory for the pixel buffer, and there may be insufficient memory. We need to check the success of this call to respond properly.

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.

1 participant