From 2f494d26a65cde5da1ef797070bc439f2431265c Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 14 Aug 2021 12:37:02 +0200 Subject: Add a test case for the path traversal bug Signed-off-by: David Oberhollenzer --- tests/Makemodule.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/Makemodule.am') diff --git a/tests/Makemodule.am b/tests/Makemodule.am index e1a3a26..414d239 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -272,3 +272,10 @@ EXTRA_DIST += $(top_srcdir)/tests/fstree1.txt EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.tar.xz EXTRA_DIST += $(top_srcdir)/tests/corpus/cantrbry.sha512 EXTRA_DIST += $(top_srcdir)/tests/pack_dir_root.txt.ref +EXTRA_DIST += $(top_srcdir)/tests/rdsquashfs/pathtraversal.sqfs + +if WINDOWS +else +check_SCRIPTS += tests/rdsquashfs/pathtraversal.sh +TESTS += tests/rdsquashfs/pathtraversal.sh +endif -- cgit v1.2.3