[parted-devel] fix improper data conversion in _parse_header()

Petr Uzel petr.uzel at suse.cz
Mon Oct 20 09:27:03 UTC 2008


Hello,

there's a bug in _parse_header() function that may cause parted to
fail on 73.4 GB disks.

The problem is that last_usable_if_grown and last_usable_min_default
should be both CPU format, but last_usable_if_grown is converted to
LE64.

Patch is attached.


-- 
Best regards / s pozdravem

Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o.                          e-mail: puzel at suse.cz
Lihovarská 1060/12                          tel: +420 284 028 964
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parted-1.8.8-fix-improper-data-conversion.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20081020/007044cd/attachment.bin 


More information about the parted-devel mailing list