diff options
author | Paul Holzinger <paul.holzinger@web.de> | 2021-04-16 10:42:08 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-04-16 11:11:26 -0400 |
commit | c28695b9253569683c6e0e5f25a04c0701100b0a (patch) | |
tree | fbce19a8bf2f8daed18a88c6412533020ae630ee /pkg/rootless/rootless_linux.c | |
parent | 2816c55f3a7138a04837694afa8bf0a515fe00ac (diff) | |
download | podman-c28695b9253569683c6e0e5f25a04c0701100b0a.tar.gz podman-c28695b9253569683c6e0e5f25a04c0701100b0a.tar.bz2 podman-c28695b9253569683c6e0e5f25a04c0701100b0a.zip |
Fix possible panic in libpod/image/prune.go
podman image prune paniced locally for me. The error handling was not
done correctly and we could end up with a nil pointer dereference.
[NO TESTS NEEDED] I have no idea how I could force an error in img.Size().
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'pkg/rootless/rootless_linux.c')
0 files changed, 0 insertions, 0 deletions