maglev: fix handling of unspecified locality weights. (#5863)
The config fuzzer showed that the locality weight assertion in https://github.com/envoyproxy/envoy/pull/5831 was too strong. Extant behavior was and is that if locality weight is not specified and locality LB weighting, we should just ignore the locality. Fixes oss-fuzz issue https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12923. Risk level: Low Testing: Corpus entry and unit test added. Signed-off-by: Harvey Tuch <htuch@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 5fd128d63810919840917bdf7da2d018edc5e32fpull/620/head
parent
7ed25fb1d4
commit
5e62701792
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue