envoyproxy/envoy

filter_fuzz_test fails for ext_proc filter

Open

#20.737 aperta il 8 apr 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
bughelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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 to force the test to pick ext_proc and reproduce the failure.

Guida contributor