diff options
author | Brent Baude <bbaude@redhat.com> | 2020-08-25 14:46:35 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-08-28 08:54:22 -0500 |
commit | a6f85861df406ae7d44c25c1cbeecc1d267b9f43 (patch) | |
tree | 19cac7f4e3215a50b5885feb6074926c92cded97 /cmd/podman/registry | |
parent | e3edb7ba9dd8d079b09d2effda365a1b51d303e7 (diff) | |
download | podman-a6f85861df406ae7d44c25c1cbeecc1d267b9f43.tar.gz podman-a6f85861df406ae7d44c25c1cbeecc1d267b9f43.tar.bz2 podman-a6f85861df406ae7d44c25c1cbeecc1d267b9f43.zip |
fix panic when checking len on nil object
issue #7444 describes a problem where an image does not have a manifest file and cannot be processed by our library correctly. the origin of the panic is because we are checking the len of a nil object's attribute. this is a temporary fix to protect from the panic in the future. the origin of the problem is more interesting and requires more work when the code author returns from pto.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/registry')
0 files changed, 0 insertions, 0 deletions