Openwrt/tools/squashfs4/patches/140-mode_check.patch

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