Re: [Devel] dm: ploop: arithemtic overflow in ploop

2024-05-17 Thread Evgenii Shatokhin
Hi, On 10.05.2024 16:15, Alexey Kuznetsov wrote: May be we do. I do such mistakes all the time, as I am paranoid about saving memory, using minimal possible type. I checked code since this morning, this is the only place, which I found. And it fixed this urgent problem. Full audit can be done la

Re: [Devel] dm: ploop: arithemtic overflow in ploop

2024-05-10 Thread Alexey Kuznetsov
May be we do. I do such mistakes all the time, as I am paranoid about saving memory, using minimal possible type. I checked code since this morning, this is the only place, which I found. And it fixed this urgent problem. Full audit can be done later, after everyone patched and damage is isolated.

Re: [Devel] dm: ploop: arithemtic overflow in ploop

2024-05-10 Thread Denis V. Lunev
On 5/10/24 14:54, Alexey Kuznetsov wrote: Images of size > 2TB are corrupted! https://pmc.acronis.work/browse/TTASK-68430 Signed-off-by: Alexey Kuznetsov --- drivers/md/dm-ploop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-ploop.h b/drivers/md/dm-ploop