linkerd2/controller/api
Alex Leong 3bd01cac9c
add nil check when reading endpoint hostname (thanks @acallejaszu) (#12689)
Fixes #12686

When an endpoint in an EndpointSlice resource does not contain a hostname field, the destination controller can panic while looking for an endpoint with a certain hostname.  This happens when doing a lookup with a pod dns name.

We add a nil check to avoid the panic.

We add such an endpoint to our test fixture to exercise this case.

Signed-off-by: Alex Leong <alex@buoyant.io>
2024-06-10 10:45:31 -07:00
..
destination add nil check when reading endpoint hostname (thanks @acallejaszu) (#12689) 2024-06-10 10:45:31 -07:00
util Fuzzing: Move fuzzers upstream (#7419) 2022-05-05 13:01:00 -06:00