TMP rm bright-ben
[librewrt/.git] / absolute-alpha / tools / squashfs4 / patches / 140-mode_check.patch
1 --- a/squashfs-tools/pseudo.c
2 +++ b/squashfs-tools/pseudo.c
3 @@ -374,7 +374,7 @@
4         }
5  
6  
7 -       if(mode > 0777) {
8 +       if(mode > 07777) {
9                 ERROR("Mode %o out of range\n", mode);
10                 goto error;
11         }