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

ext/exif: Various minor refactorings #18142

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Mar 25, 2025

No description provided.

@Girgias Girgias requested a review from nielsdos March 25, 2025 06:59
@Girgias Girgias marked this pull request as ready for review March 25, 2025 18:49
@@ -2467,6 +2463,7 @@ static void add_assoc_image_info(zval *value, int sub_array, image_info_type *im
image_info_value *info_value = &info_data->value;
const char *name = info_data->name;
if (!name) {
char uname[64];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces a scope use after free because name will be set to uname but uname goes out of scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants