Re: [PATCH] e2image: fix overflow in l2 table processing
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-05-07 22:50:03
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-05-07 22:50:03
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 <redacted> Signed-off-by: Artem Blagodarenko <redacted> HPE-bug-id: LUS-9368
Thanks, applied. - Ted