envoyproxy/envoy

filter_fuzz_test fails for ext_proc filter

Open

#20.737 aberto em 8 de abr. de 2022

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (5.373 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

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

Guia do colaborador