Skip to content

Conversation

nielsdos
Copy link
Member

The success path frees tmp_str, but the error path does not.

Found with help of a SA I'm developing.

@nielsdos nielsdos changed the base branch from master to PHP-8.3 December 22, 2024 20:35
@nielsdos nielsdos marked this pull request as ready for review December 22, 2024 20:35
@nielsdos nielsdos requested a review from dstogov as a code owner December 22, 2024 20:35
The success path frees tmp_str, but the error path does not.
Copy link
Member

@dstogov dstogov left a comment

Choose a reason for hiding this comment

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

Thanks!

Can you share a link to your SA (most probably I won't have time to take a deep look anyway).

@nielsdos
Copy link
Member Author

nielsdos commented Dec 23, 2024

Can you share a link to your SA (most probably I won't have time to take a deep look anyway).

This is developed during my day job and it's not public yet. I'll share it once I can make it public.
I am required to disclose when I find something with SA so that's why I wrote it down.

@nielsdos nielsdos closed this in a7f7e16 Dec 23, 2024
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
The success path frees tmp_str, but the error path does not.

Closes phpGH-17243.
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