On 26.03.2014 13:06, Stefan Hajnoczi wrote:
From: Kevin Wolf <kw...@redhat.com>

Limiting the size of a single request to INT_MAX not only fixes a
direct integer overflow in bdrv_check_request() (which would only
trigger bad behaviour with ridiculously huge images, as in close to
2^64 bytes), but can also prevent overflows in all block drivers.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
---
  block.c | 4 ++++
  1 file changed, 4 insertions(+)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to