spiegel_podman/pkg
Brent Baude 94d685c0d5 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>
2022-10-05 00:54:26 +00:00
..
annotations fix a number of godot issues 2022-03-22 13:04:35 +01:00
api Prevent nil pointer deref in GetImage 2022-10-05 00:54:26 +00:00
auth pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
autoupdate pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
bindings build: implement --cache-to,--cache-from and --cache-ttl 2022-08-10 16:46:04 -04:00
channel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
checkpoint pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
copy pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
criu Fix spelling of GetCriuVersion 2022-06-27 12:57:44 +01:00
ctime golangci-lint: enable nolintlint 2022-06-14 16:29:42 +02:00
domain health check: add on-failure actions 2022-09-27 10:40:36 +02:00
env pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
errorhandling libpod/runtime: switch to golang native error wrapping 2022-07-04 15:39:00 +02:00
inspect pkg/inspect: remove unused ImageResult type 2022-05-24 16:07:39 +02:00
k8s.io Fix spelling "read only" -> "read-only" 2022-07-02 08:37:43 +02:00
lookup enable gocritic linter 2022-04-26 18:12:22 +02:00
machine check memory test based on range 2022-08-10 16:46:05 -04:00
namespaces Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00
parallel pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ps libpod: switch to golang native error wrapping 2022-07-05 16:06:32 +02:00
rootless pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
rootlessport go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
signal Implement CatchAll and StopCatch in signal_common.go 2022-06-27 13:27:12 +01:00
specgen health check: add on-failure actions 2022-09-27 10:40:36 +02:00
specgenutil health check: add on-failure actions 2022-09-27 10:40:36 +02:00
systemd podman generate systemd --new: allow -h hostname 2022-08-10 16:46:05 -04:00
terminal move golang.org/x/crypto/ssh/terminal to golang.org/x/term 2022-04-22 12:40:52 +02:00
timetype enable gocritic linter 2022-04-26 18:12:22 +02:00
trust pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
util pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00