Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/k8s: fix invalid memory address or nil pointer dereference
Since k8sMeta might return nil, we should check for it before accessing the fields of that structure otherwise we will risk on panic for a nil pointer dereference. Fixes: 63c0b29 ("Checks k8s metadata for pod before removing IP from ipccahe") Signed-off-by: André Martins <andre@cilium.io>
- Loading branch information