Skip to content

Fix GH-17745: zlib extension incorrectly handles object arguments - #17750

Closed
ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-17745
Closed

ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-17745

Conversation

@ndossche

@ndossche ndossche commented Feb 9, 2025 •

Copy link
Copy Markdown
Member

Because of the "H" modifier in ZPP, there are two bugs:

  1. The stub is wrong and will cause a crash in debug mode.
  2. Non-dynamic properties are not read correctly because they are not
    DEINDIRECTed.

@ndossche
ndossche requested a review from kocsismate as a code owner February 9, 2025 14:13
@ndossche ndossche linked an issue Feb 9, 2025 that may be closed by this pull request
Because of the "H" modifier in ZPP, there are two bugs:

1) The stub is wrong and will cause a crash in debug mode.
2) Non-dynamic properties are not read correctly because they are not
   DEINDIRECTed.
@ndossche ndossche changed the title GH-17745 (zlib extension incorrectly handles object arguments) Fix GH-17745: zlib extension incorrectly handles object arguments Feb 9, 2025
@ndossche
ndossche requested a review from Girgias February 10, 2025 21:09

@Girgias Girgias left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm really not a fan of the H/A ZPP modifier, but this is a different topic all together. The bugfix seems correct to me.

@ndossche ndossche closed this in 4b5c29e Feb 11, 2025
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.

zlib extension incorrectly handles object arguments

2 participants