Skip to content

uri: Improve exceptions for Uri\Rfc3986\Uri #19161

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

Merged
merged 6 commits into from
Jul 18, 2025

Conversation

TimWolla
Copy link
Member

No description provided.

@TimWolla TimWolla force-pushed the uri-uriparser-parse-simplify branch from 3467d7c to 5045210 Compare July 17, 2025 17:24
@TimWolla

This comment was marked as resolved.

@TimWolla TimWolla force-pushed the uri-uriparser-parse-simplify branch from 5045210 to 7e2ba9d Compare July 17, 2025 18:45
@nielsdos
Copy link
Member

ASAN is green, but the others are not. Probably missed a Mm somewhere. Will check later.

Ah I missed this. I have a habit of always running with ASAN but I guess I should use USE_TRACKED_ALLOC more often. Funny that this is a case where ASAN hides the issue.

@TimWolla
Copy link
Member Author

Ah I missed this. I have a habit of always running with ASAN

Same on both ends. But already fixed.

@kocsismate
Copy link
Member

Ah I missed this. I have a habit of always running with ASAN but I guess I should use USE_TRACKED_ALLOC more often. Funny that this is a case where ASAN hides the issue.

Yeah, I always bump into this problem that ASAN hides the memleaks. "Fortunately", I somehow didn't manage to setup ASAN for the Clion debugger/runner, so I can reproduce leaks by running tests one by one from CLion.

@TimWolla TimWolla requested a review from kocsismate July 18, 2025 13:34
@TimWolla
Copy link
Member Author

@kocsismate Updated to allow empty URIs. PTAL, if this is good to you, I'll merge myself after CI is green 😄

@TimWolla
Copy link
Member Author

Yeah, I always bump into this problem that ASAN hides the memleaks.

ASAN should report memleaks by itself (it just doesn't catch incorrect usage of ZendMM).

Copy link
Member

@kocsismate kocsismate left a comment

Choose a reason for hiding this comment

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

LGTM after the nit is fixed.

@TimWolla TimWolla force-pushed the uri-uriparser-parse-simplify branch from 559529c to 48f1824 Compare July 18, 2025 13:42
@TimWolla TimWolla merged commit 5fdc022 into php:master Jul 18, 2025
9 checks passed
@TimWolla TimWolla deleted the uri-uriparser-parse-simplify branch July 18, 2025 15:38
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.

3 participants