Re: [PATCH v6 03/10] parallels: Fix data_end after out-of-image check

2022-08-26 Thread Denis V. Lunev
On 25.08.2022 16:31, Alexander Ivanov wrote: Set data_end to the end of the last cluster inside the image. In such a way we can be shure that corrupted offsets in the BAT s/shure/sure/ can't affect on the image size. Signed-off-by: Alexander Ivanov --- block/parallels.c | 2 ++ 1 file

[PATCH v6 03/10] parallels: Fix data_end after out-of-image check

2022-08-25 Thread Alexander Ivanov
Set data_end to the end of the last cluster inside the image. In such a way we can be shure that corrupted offsets in the BAT can't affect on the image size. Signed-off-by: Alexander Ivanov --- block/parallels.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/parallels.c