Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fuzzer: bad URL gives response [BTS-2178]#21866

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
neunhoef wants to merge3 commits intodevel
base:devel
Choose a base branch
Loading
frombug-fix/fuzzer-url-corrupt

Conversation

neunhoef
Copy link
Member

This is abouthttps://arangodb.atlassian.net/browse/BTS-2178 .

  • Proper response if URL is bad.
  • CHANGELOG.

Scope & Purpose

(Please describe the changes in this PR for reviewers, motivation, rationale -mandatory)

  • [*] 💩 Bugfix

Checklist

  • [*] Tests:
    • [*]integration tests
  • [*] 📖 CHANGELOG entry made
  • [*] Backports: none planned

This was discovered by the fuzzer. BTS-2178.
@neunhoefneunhoef added this to thedevel milestoneJul 17, 2025
@neunhoefneunhoef self-assigned thisJul 17, 2025
@@ -331,7 +331,8 @@ bool HttpCommTask<T>::readCallback(asio_ns::error_code ec) {

err = llhttp_execute(&_parser, data, datasize);
if (err != HPE_OK) {
if (err == HPE_INVALID_HEADER_TOKEN) {
if (err == HPE_INVALID_HEADER_TOKEN || err == HPE_INVALID_URL ||
err == HPE_UNEXPECTED_CONTENT_LENGTH) {
_headerCorrupt = true;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't you also need to close the if brackets again?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jvolmerjvolmerjvolmer left review comments

At least 1 approving review is required to merge this pull request.

Assignees

@neunhoefneunhoef

Labels
Projects
None yet
Milestone
devel
Development

Successfully merging this pull request may close these issues.

2 participants
@neunhoef@jvolmer

[8]ページ先頭

©2009-2025 Movatter.jp