We now have several internal subpackages of pkg/chunked, so delineate
more explicitly the parts that should be kept as small as possible
because the c/image compression package depends on them.
Should not change behavior.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
ihen the file name is the root directory, avoid using an empty string
or the ".." name to open the file. The latter does not cause any
security issues or unexpected behavior, it is logically incorrect and
should be avoided.
Closes: https://github.com/containers/storage/issues/2191
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>