envoyproxy / envoyproxy/envoy

filter_fuzz_test fails for ext_proc filter

Open
#20,737 2 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
428

Description

*Description*:
filter_fuzz_test picks http filters by random to fuzz. The test fails when it picks the ext_proc filter, as the filter is instantiated with a mock Grpc::AsyncClientManager, which returns a null grpc client. The test seg faults when invoking a method on the null grpc client.

*Repro steps*:
Replace `seed % filter_names.size()` with `5` [here](https://github.com/envoyproxy/envoy/blob/main/test/extensions/filters/http/common/fuzz/filter_fuzz_test.cc#L29) to force the test to pick ext_proc and reproduce the failure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.