On Tue, Apr 26, 2011 at 9:44 AM, Kevin Wolf <[email protected]> wrote: > Am 24.04.2011 19:38, schrieb Stefan Hajnoczi: >> The qed_bytes_to_clusters() function is normally used with size_t >> lengths. Consistency check used it with file size length and therefore >> failed on 32-bit hosts when the image file is 4 GB or more. >> >> Make qed_bytes_to_clusters() explicitly 64-bit and update consistency >> check to keep 64-bit cluster counts. >> >> Reported-by: Michael Tokarev <[email protected]> >> Signed-off-by: Stefan Hajnoczi <[email protected]> > > Thanks, applied to the block branch.
Please apply to stable. This fixes a segfault when checking an image on 32-bit hosts. Stefan
