aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-10-04 15:12:27 -0500
committerBrent Baude <bbaude@redhat.com>2022-10-04 15:31:00 -0500
commitaaa9f4ea9022576250b75349dd908613d5e3378a (patch)
treea8f94c3b05acb7b246fc076bfe856adbcd7fa67c /Makefile
parent0330d1abed7559e33baf50167a161e8ec54363b3 (diff)
downloadpodman-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