Skip to content
Snippets Groups Projects
Commit 67b4181c authored by Felix Fietkau's avatar Felix Fietkau
Browse files

squashfs4: backport an upstream change to fix the file mode check to allow...

squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653

SVN-Revision: 22334
parent fd814240
No related branches found
No related tags found
No related merge requests found
--- 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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment