diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2020-10-15 11:38:48 +0200 |
---|---|---|
committer | Paul Holzinger <paul.holzinger@web.de> | 2020-10-15 11:50:29 +0200 |
commit | 2e65497deaf63cbb7a9521b49ac69bbe223970e4 (patch) | |
tree | 32ea05fcc3ee68214892a267269f4fe8b43d909e /libpod/define/exec_codes.go | |
parent | 41eda417fe4565cab26d704daedca0d285327f31 (diff) | |
download | podman-2e65497deaf63cbb7a9521b49ac69bbe223970e4.tar.gz podman-2e65497deaf63cbb7a9521b49ac69bbe223970e4.tar.bz2 podman-2e65497deaf63cbb7a9521b49ac69bbe223970e4.zip |
Fix possible panic in libpod container restore
We need to do a length check before we can access the
networkStatus slice by index to prevent a runtime panic.
Fixes #8026
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'libpod/define/exec_codes.go')
0 files changed, 0 insertions, 0 deletions