qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] block: avoid integer overflow of `max-workers` and asser


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH 0/2] block: avoid integer overflow of `max-workers` and assert `max_busy_tasks`
Date: Tue, 5 Oct 2021 19:38:30 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0

10/5/21 19:11, Stefano Garzarella wrote:
This series contains a patch that avoids an integer overflow of
`max-workers` (struct BackupPerf) by adding a check and a patch
that asserts this condition where the problem occurs.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=2009310
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>

Stefano Garzarella (2):
   block/backup: avoid integer overflow of `max-workers`
   block/aio_task: assert `max_busy_tasks` is greater than 0

  block/aio_task.c | 2 ++
  block/backup.c   | 4 ++--
  2 files changed, 4 insertions(+), 2 deletions(-)


Thanks for fixing, I'm applying it to my jobs branch.

--
Best regards,
Vladimir



reply via email to

[Prev in Thread] Current Thread [Next in Thread]