diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-09 15:52:38 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-09 15:56:01 +0100 |
commit | dad9228494e3cc03dc477e8109f43119390b53c4 (patch) | |
tree | 17d4c2729d331e3858f5184703bd85744448b6d1 /tests/mknode_reg.c | |
parent | 6d7db2bd7ce39621f27f9f669690ab606ddc1787 (diff) |
Only check for OS specific bad filenames when unpacking
When converting a SquashFS image to a tarball, it makes no sense to
refuse conversion if the filename is considered evil by the OS.
This patch adds an option to is_filename_sane to check if the OS has
a problem with the given file name. sqfs2tar sets it to false and
converts everything while rdsquashfs sets it to true when unpacking.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/mknode_reg.c')
0 files changed, 0 insertions, 0 deletions