From: Felix Fietkau Date: Wed, 21 Jul 2010 17:31:16 +0000 (+0000) Subject: squashfs4: backport an upstream change to fix the file mode check to allow setuid... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=0adc3338b72dbae7e2c0be3165253ad74f1d4766 squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653 SVN-Revision: 22334 --- 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; + }