diff options
author | Brent Baude <bbaude@redhat.com> | 2022-10-04 15:12:27 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2022-10-04 15:31:00 -0500 |
commit | aaa9f4ea9022576250b75349dd908613d5e3378a (patch) | |
tree | a8f94c3b05acb7b246fc076bfe856adbcd7fa67c /Makefile | |
parent | 0330d1abed7559e33baf50167a161e8ec54363b3 (diff) | |
download | podman-aaa9f4ea9022576250b75349dd908613d5e3378a.tar.gz podman-aaa9f4ea9022576250b75349dd908613d5e3378a.tar.bz2 podman-aaa9f4ea9022576250b75349dd908613d5e3378a.zip |
Prevent nil pointer deref in GetImage
Trying to print the image id on a failed inspect will result in a nil
pointer panic because the image will be nil. Replace image.id with the
image name which is defined as a string without the use of inspect.
Fixes: bz#2131836
[NO NEW TESTS NEEDED]
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions