[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YJXEEhxkGdMEdRGQ@mit.edu>
Date: Fri, 7 May 2021 18:49:54 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Artem Blagodarenko <artem.blagodarenko@...il.com>
Cc: linux-ext4@...r.kernel.org, adilger.kernel@...ger.ca,
Alexey Lyashkov <c17817@...y.com>,
Artem Blagodarenko <c17828@...y.com>
Subject: Re: [PATCH] e2image: fix overflow in l2 table processing
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@...y.com>
> Signed-off-by: Artem Blagodarenko <c17828@...y.com>
> HPE-bug-id: LUS-9368
Thanks, applied.
- Ted
Powered by blists - more mailing lists