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

fuzz: fixing utility_fuzzer initialize_and_validate error handling #37316

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adisuissa
Copy link
Contributor

Commit Message: fuzz: fixing utility_fuzzer initialize_and_validate error handling
Additional Description:
Fixing a logical error in the initialize_and_validate part of the HTTP utility fuzzer.

Fixes fuzz issue 379773073.

Risk Level: low - tests only
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #37316 was opened by adisuissa.

see: more, trace.

@adisuissa adisuissa marked this pull request as ready for review November 22, 2024 14:09
@@ -87,7 +87,7 @@ DEFINE_PROTO_FUZZER(const test::common::http::UtilityTestCase& input) {
case test::common::http::UtilityTestCase::kInitializeAndValidate: {
const auto& options = input.initialize_and_validate();
auto options_or_error = Http2::Utility::initializeAndValidateOptions(options);
if (options_or_error.status().ok()) {
if (!options_or_error.status().ok()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wow that's quite a bug! :)

@RyanTheOptimist RyanTheOptimist self-assigned this Nov 25, 2024
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