mirror of https://github.com/hak5/openwrt.git
12 lines
190 B
Diff
12 lines
190 B
Diff
|
--- 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;
|
||
|
}
|