Tested the mksquashfs command in version 4.4 (2019/08/29) on Ubuntu 20.04. It now says: Not enough or invalid arguments in pseudo file definition "/ f 444 root root echo"
Appending to the archive now reports "File system corrupted: filename too long" and fails gracefully. Listing the archive also reports the corruption, and fails earlier with "FATAL ERROR:dir_scan: failed to read directory squashfs-root" ** Changed in: squashfs-tools (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745757 Title: Buffer overflow adding to archive with pseudo file at '/' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1745757/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs