Skip to content

Fix oss-fuzz #62294 #12202

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

Closed
wants to merge 2 commits into from
Closed

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Sep 13, 2023

Did the same trick for the increment case.

zend_error(E_DEPRECATED, "Decrement on non-numeric string has no effect and is deprecated");
if (EG(exception)) {
GC_TRY_DELREF(zstr);
Copy link
Member

Choose a reason for hiding this comment

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

zend_string_release

Copy link
Member Author

Choose a reason for hiding this comment

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

Done, and also amended the previous usage

@Girgias Girgias force-pushed the inc-dec-oss-fuzz-62294 branch from 61a11ae to 9b6f1fe Compare September 16, 2023 18:16
@Girgias Girgias closed this in 0b614a6 Sep 17, 2023
@Girgias Girgias deleted the inc-dec-oss-fuzz-62294 branch September 17, 2023 14:51
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