projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
squashfs4: backport the mode fix from r22334
[openwrt-10.03/.git]
/
tools
/
squashfs4
/
patches
/
140-mode_check.patch
diff --git a/tools/squashfs4/patches/140-mode_check.patch
b/tools/squashfs4/patches/140-mode_check.patch
new file mode 100644
(file)
index 0000000..
30ab4e1
--- /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;
+ }