Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Sep 13, 2023

Did the same trick for the increment case.

GC_TRY_ADDREF(zstr);
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