Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Mar 25, 2025

No description provided.

Girgias added 5 commits March 25, 2025 06:21
This always returned true, and the return value was never checked anyway
This always returned true, and the return value was never checked anyway
@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
ext/exif/exif.c Outdated
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

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, fixed.

@Girgias Girgias force-pushed the exif-minor-refactoring branch from 696dd5c to 8396f62 Compare March 28, 2025 17:04
@Girgias Girgias merged commit 50b976d into php:master Mar 28, 2025
9 checks passed
@Girgias Girgias deleted the exif-minor-refactoring branch March 28, 2025 18:39
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