1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 18:02:57 +03:00

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
This commit is contained in:
nbd 2010-07-21 17:31:16 +00:00
parent 7b7e4702ef
commit f2f28c86a2

View 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;
}