cloop: create_compressed_fs is broken on amd64

Bug #11797 reported by Matt Zimmerman
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
High
Charles Majola

Bug Description

The bug has to do with sizeof(unsigned int) and sizeof(unsigned long) being
unequal on amd64. In the create_compressed_blocks function, a pointer to an
element of the array 'len' is casted to (uLongf*) (uLongf == unsigned long), but
it is a pointer to an unsigned int.

This bug prevents the creation of amd64 live CD images using the tools in the
archive, and so needs to be fixed soon.

Revision history for this message
Charles Majola (chmj) wrote :

Created an attachment (id=1027)
diff output of the changes made to fix the bug

use patch -p1 to remove the first part of the filename path

Revision history for this message
Charles Majola (chmj) wrote :

bug fixed, patch has been attached

Revision history for this message
Matt Zimmerman (mdz) wrote :

Note, bugs are only closed when a fixed version of the package is uploaded to
the archive

Revision history for this message
Matt Zimmerman (mdz) wrote :

Oh, you did upload it. Cheers.

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.