Skip to content

heif: initialize image pointer#645

Open
YAtOff wants to merge 1 commit into
saschazar21:mainfrom
YAtOff:bugfix/heif-init-image-ptr
Open

heif: initialize image pointer#645
YAtOff wants to merge 1 commit into
saschazar21:mainfrom
YAtOff:bugfix/heif-init-image-ptr

Conversation

@YAtOff

@YAtOff YAtOff commented Sep 28, 2022

Copy link
Copy Markdown

In heif/main.cpp the image pointer is not initialized, which could cause a memory access violation. free_buffer doesn't set the image pointer to NULL and calling free_buffer two times will cause a memory access violation.
Also, set an explicit emsdk tag, because the library won't build with the latest version of the SDK.

In `heif/main.cpp` the image pointer is not initialized, which could
cause a memory access violation. `free_buffer` doesn't set the image
pointer to `NULL` and calling `free_buffer` two times will cause
a memory access violation.
Also, set an explicit emsdk tag, because the library won't build with
the latest version of the SDK.
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