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

http: fix CWE-570 #10399

Closed
wants to merge 1 commit into from
Closed

http: fix CWE-570 #10399

wants to merge 1 commit into from

Conversation

kvarec
Copy link
Contributor

@kvarec kvarec commented Feb 2, 2023

[CWE-570] V560: A part of conditional expression is always false: conn->bits.authneg.
[CWE-570] V560: A part of conditional expression is always false: conn->handler->protocol & (0 | 0).

https://pvs-studio.com/en/docs/warnings/v560/

[CWE-570] V560: A part of conditional expression is always false: conn->bits.authneg.
[CWE-570] V560: A part of conditional expression is always false: conn->handler->protocol & (0 | 0).

https://pvs-studio.com/en/docs/warnings/v560/
@github-actions github-actions bot added the HTTP label Feb 2, 2023
lib/http.c Show resolved Hide resolved
@bagder
Copy link
Member

bagder commented Feb 2, 2023

Also, what does the title mean? how does this "fix CWE-570" ?

@bagder
Copy link
Member

bagder commented Feb 3, 2023

Thanks!

@bagder bagder closed this in e1f78ce Feb 3, 2023
@kvarec kvarec deleted the fix_http_c branch February 3, 2023 11:24
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
[CWE-570] V560: A part of conditional expression is always false: conn->bits.authneg.
[CWE-570] V560: A part of conditional expression is always false: conn->handler->protocol & (0 | 0).

https://pvs-studio.com/en/docs/warnings/v560/

Closes curl#10399
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