mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 15:12:50 +00:00
squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
SVN-Revision: 22334
This commit is contained in:
parent
fd8142403e
commit
67b4181c8a
11
tools/squashfs4/patches/140-mode_check.patch
Normal file
11
tools/squashfs4/patches/140-mode_check.patch
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user