Christoph Hellwig cd02a24b61 dmg: fix reading of uncompressed chunks
When dmg_read_chunk encounters an uncompressed chunk it currently
calls read without any previous adjustment of the file postion.

This seems very wrong, and the "reference" implementation in
dmg2img does a search to the same offset as done in the various
compression cases, so do the same here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2010-05-17 10:20:05 +02:00
..
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:04 +02:00
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:05 +02:00
2010-05-03 10:07:31 +02:00