mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 08:25:40 +00:00
There is a couple of newGenericDecompressor function usages, where returned possibly non-nil `err` is not checked before dereferencing returned decompressor. It may lead to nil ptr dereferencing. This commit adds check for `err` to prevent dereferencing potentially nullable decompressor. Found by Linux Verification Center (linuxtesting.org) with SVACE Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko222@gmail.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| compression_test.go | ||
| config.go | ||
| decompress.go | ||
| generic.go | ||
| sparse_file_writer.go | ||
| sparse_file_writer_test.go | ||
| uncompressed.go | ||
| zip.go | ||