Skip to content
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

url: fix PVS warning V560 #10407

Closed
wants to merge 2 commits into from
Closed

url: fix PVS warning V560 #10407

wants to merge 2 commits into from

Conversation

kvarec
Copy link
Contributor

@kvarec kvarec commented Feb 3, 2023

[CWE-571] V560: A part of conditional expression is always true: userp.
https://pvs-studio.com/en/docs/warnings/v560/

@github-actions github-actions bot added the URL label Feb 3, 2023
lib/url.c Outdated Show resolved Hide resolved
@kvarec kvarec requested a review from bagder February 3, 2023 07:27
@kvarec kvarec changed the title url: fix PVS warnings V560 and V526 url: fix PVS warning V560 Feb 3, 2023
@bagder
Copy link
Member

bagder commented Feb 6, 2023

Thanks!

@bagder bagder closed this in 690c43b Feb 6, 2023
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants