Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pseudo-file named '/' #50

Closed
countingpine opened this issue Jun 21, 2018 · 1 comment
Closed

Pseudo-file named '/' #50

countingpine opened this issue Jun 21, 2018 · 1 comment

Comments

@countingpine
Copy link

Originally posted at https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1745757 (via https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bugs), but I don't know if anyone checks there.

This command creates an archive with a small file named '/':

mksquashfs /tmp/empty /tmp/crash.sfs -p "/ f 444 root root echo"

Trying unsquashfs on the produced archive complains with dir_scan: failed to read directory squashfs-root, skipping:

unsquashfs -i /tmp/crash.sfs

Trying to add anything (or nothing) to the archive with squashfs causes a buffer overflow internally:

mksquashfs /tmp/empty /tmp/crash.sfs
@plougher plougher closed this as completed Jul 2, 2019
@plougher
Copy link
Owner

plougher commented Jul 2, 2019

Fixed in git. Will be in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants