From: nbd Date: Wed, 21 Jul 2010 17:32:04 +0000 (+0000) Subject: squashfs4: backport the mode fix from r22334 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=ba36298f895acc299ca6324557a101bbf95d9a0d squashfs4: backport the mode fix from r22334 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22335 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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; + }