diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-21 17:31:16 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-07-21 17:31:16 +0000 |
commit | 67b4181c8af8b117a846a196302b15bb0c0be7d3 (patch) | |
tree | 1a92060a5d5b27ec8971febdcfa87c24e359416a | |
parent | fd8142403e749b00e701f1c6831e8fc48f19c374 (diff) | |
download | upstream-67b4181c8af8b117a846a196302b15bb0c0be7d3.tar.gz upstream-67b4181c8af8b117a846a196302b15bb0c0be7d3.tar.bz2 upstream-67b4181c8af8b117a846a196302b15bb0c0be7d3.zip |
squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
SVN-Revision: 22334
-rw-r--r-- | tools/squashfs4/patches/140-mode_check.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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; + } |