On Thu, Apr 22, 2021 at 01:24:48AM -0400, Artem Blagodarenko wrote: > For a large partition during e2image capture process > it is possible to overflow offset at multiply operation. > This leads to the situation when data is written to the > position at the start of the image instead of the image end. > > Let's use the right cast to avoid integer overflow. > > Signed-off-by: Alexey Lyashkov <c17817@xxxxxxxx> > Signed-off-by: Artem Blagodarenko <c17828@xxxxxxxx> > HPE-bug-id: LUS-9368 Thanks, applied. - Ted