From f2f28c86a203a347cc33c9ed5091a8a83f4d2ec8 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jul 2010 17:31:16 +0000 Subject: squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22334 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/squashfs4/patches/140-mode_check.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tools/squashfs4/patches/140-mode_check.patch (limited to 'tools/squashfs4/patches/140-mode_check.patch') diff --git a/tools/squashfs4/patches/140-mode_check.patch b/tools/squashfs4/patches/140-mode_check.patch new file mode 100644 index 0000000000..30ab4e1374 --- /dev/null +++ b/tools/squashfs4/patches/140-mode_check.patch @@ -0,0 +1,11 @@ +--- a/squashfs-tools/pseudo.c ++++ b/squashfs-tools/pseudo.c +@@ -374,7 +374,7 @@ + } + + +- if(mode > 0777) { ++ if(mode > 07777) { + ERROR("Mode %o out of range\n", mode); + goto error; + } -- cgit v1.2.3