mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
squashfs4: backport the mode fix from r22334
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22335 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user