diff options
author | Aditya Rajan <arajan@redhat.com> | 2021-09-07 00:59:18 +0530 |
---|---|---|
committer | Aditya Rajan <arajan@redhat.com> | 2021-09-07 00:59:21 +0530 |
commit | bd6403927866738fdc7cdc1c0c18f2e838065637 (patch) | |
tree | 37b8e8ae9940fd4169914110ced9408fef85a990 /pkg/domain | |
parent | 68481539a4f019229707dcee9e4f4f8465392f06 (diff) | |
download | podman-bd6403927866738fdc7cdc1c0c18f2e838065637.tar.gz podman-bd6403927866738fdc7cdc1c0c18f2e838065637.tar.bz2 podman-bd6403927866738fdc7cdc1c0c18f2e838065637.zip |
cgroup-info: check if user.slice is valid before accessing value
Prevent hitting `panic: runtime error: index out of range [1] with length 1`
while performing `podman info` when unexpected values for user.slice is found.
[NO TESTS NEEDED]
Signed-off-by: Aditya Rajan <arajan@redhat.com>
Diffstat (limited to 'pkg/domain')
0 files changed, 0 insertions, 0 deletions