From 48b3355c7a887530a9bd17a1ad571e402102dd95 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 9 Feb 2024 15:24:38 +0100 Subject: Remove check for OS specific stuff from is_filename_sane Signed-off-by: David Oberhollenzer --- bin/rdsquashfs/describe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/rdsquashfs/describe.c') diff --git a/bin/rdsquashfs/describe.c b/bin/rdsquashfs/describe.c index 540b126..8c0fb16 100644 --- a/bin/rdsquashfs/describe.c +++ b/bin/rdsquashfs/describe.c @@ -76,7 +76,7 @@ int describe_tree(const sqfs_tree_node_t *root, const char *unpack_root) { const sqfs_tree_node_t *n; - if (!is_filename_sane((const char *)root->name, false)) { + if (!is_filename_sane((const char *)root->name)) { fprintf(stderr, "Encountered illegal file name '%s'\n", root->name); return -1; -- cgit v1.2.3