|
From: | Alberto Garcia |
Subject: | Re: [Qemu-block] [PATCH v2 1/2] block: Detect multiplication overflow in bdrv_getlength |
Date: | Fri, 15 May 2015 10:45:30 +0200 |
User-agent: | Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) |
On Fri 15 May 2015 10:36:05 AM CEST, Fam Zheng wrote: > Bogus image may have a large total_sectors that will overflow the > multiplication. For cleanness, fix the return code so the error message > will be meaningful. > > Reported-by: Richard W.M. Jones <address@hidden> > Signed-off-by: Fam Zheng <address@hidden> Reviewed-by: Alberto Garcia <address@hidden> Berto
[Prev in Thread] | Current Thread | [Next in Thread] |