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 | 3031cf083af2faa95016d8994329404926819b39 (patch) | |
tree | 61d672f015a1d90cef7a06750e32b16778c32632 /tools/squashfs4/patches | |
parent | 0bc00cc46087df6ff79a7522242cf6a1bbf95ead (diff) | |
download | upstream-3031cf083af2faa95016d8994329404926819b39.tar.gz upstream-3031cf083af2faa95016d8994329404926819b39.tar.bz2 upstream-3031cf083af2faa95016d8994329404926819b39.zip |
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
Diffstat (limited to 'tools/squashfs4/patches')
-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; + } |