envoyproxy/envoy

filter_fuzz_test fails for ext_proc filter

Open

#20.737 geöffnet am 8. Apr. 2022

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide