lzma support breaks unsquashfs endian swap

Bug #223594 reported by Tv
6
Affects Status Importance Assigned to Milestone
squashfs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ unsquashfs -s rootfs.bin
Reading a different endian SQUASHFS filesystem on rootfs.bin
Can't find a SQUASHFS superblock on rootfs.bin

adding the attached patch makes it work:

$ unsquashfs -s rootfs.bin
Reading a different endian SQUASHFS filesystem on rootfs.bin
Found a valid big endian SQUASHFS 2:1 superblock on rootfs.bin.
Creation or last append time Fri Mar 21 15:24:01 2008
Filesystem is not exportable via NFS
...

Tags: patch
Revision history for this message
Tv (tv42) wrote :
Revision history for this message
Paul Sladen (sladen) wrote :

Marking as confirmed, though this could do with more investigation

Changed in squashfs:
status: New → Confirmed
Revision history for this message
Tv (tv42) wrote :

Isn't the bug pretty obvious? The case mistakenly fell through to the default case, and aborted with error, even if it knew how to handle the option.

Revision history for this message
steubens (steubens) wrote :

this is trivial; why has it languished since 2008?

Revision history for this message
steubens (steubens) wrote :
Revision history for this message
steubens (steubens) wrote :

ignore that patch; its still broke, need to look closer, sigh

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.