[dm-devel] kpartx bug fixes for dos extended partition [3/4]

Jun'ichi Nomura j-nomura at ce.jp.nec.com
Thu Dec 1 20:22:33 UTC 2005


Hi Christophe,

in the for loop in read_extended_partition,
'here' is updated if the next extended partition is found.

However, the 'here' value should be updated in the next while loop.
Otherwise it's possible that following partition table
entry refers updated value and generate wrong mapping.

I'm not sure if there is any partitioning tool which can generate
such table. But it's safer to fix this.

Thanks,
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-kpartx-fix-cursor-update.patch
Type: text/x-patch
Size: 1298 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20051201/57bc835d/attachment.bin>


More information about the dm-devel mailing list