From ba36298f895acc299ca6324557a101bbf95d9a0d Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jul 2010 17:32:04 +0000 Subject: [PATCH] squashfs4: backport the mode fix from r22334 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22335 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 diff --git a/tools/squashfs4/patches/140-mode_check.patch b/tools/squashfs4/patches/140-mode_check.patch new file mode 100644 index 000000000..30ab4e137 --- /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; + }