]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fsck.cramfs: check directory entry names
authorSamanta Navarro <ferivoz@riseup.net>
Thu, 26 Jan 2023 11:56:42 +0000 (11:56 +0000)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Jan 2023 15:58:32 +0000 (16:58 +0100)
commit18f96355de8e4c2995d51eccad3c445facfbc58c
tree8aa0df6eb2d4562dc8d2f1281f36259548073778
parent46ce48b6a5bf13f95318d579e2af4fde189d049a
fsck.cramfs: check directory entry names

Do not accept slashes in names or the special entries "." and ".." in
directories while extracting files.

[kzak@redhat.com: - add errx_path() to report the path]

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.cramfs.c