kubearmor / kubearmor-client

KubeArmor cli tool aka kArmor :robot:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

karmor probe panic

daemon1024 opened this issue · comments

data = append(data, []string{armoredPod.Namespace, mp[armoredPod.Namespace].NsPostureString, mp[armoredPod.Namespace].NsVisibilityString, armoredPod.Name, ""})

We have seen panics on this line of the code reported by users. Potentially the map access should be validated before appending the data.

image

@daemon1024, i can see the PR is not yet merged can i give it a try

@daemon1024 Please assign it to me