Skip to content

fix(extgen): use RETURN_EMPTY_STRING() when returning empty string#2049

Merged
alexandre-daubois merged 1 commit intophp:mainfrom
alexandre-daubois:return-empty-string
Dec 1, 2025
Merged

fix(extgen): use RETURN_EMPTY_STRING() when returning empty string#2049
alexandre-daubois merged 1 commit intophp:mainfrom
alexandre-daubois:return-empty-string

Conversation

@alexandre-daubois
Copy link
Member

One last bug spotted by #1984, empty strings should be returned using RETURN_EMPTY_STRING() or it may segfault.

@alexandre-daubois alexandre-daubois merged commit 1fbabf9 into php:main Dec 1, 2025
6 of 8 checks passed
@alexandre-daubois alexandre-daubois deleted the return-empty-string branch December 1, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants