From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VisCm-0006XF-Rq for qemu-devel@nongnu.org; Tue, 19 Nov 2013 15:47:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VisCi-00080s-0L for qemu-devel@nongnu.org; Tue, 19 Nov 2013 15:47:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VisCh-00080l-NO for qemu-devel@nongnu.org; Tue, 19 Nov 2013 15:47:23 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAJKlMGm012700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Nov 2013 15:47:23 -0500 Message-ID: <528BCE5A.7010308@redhat.com> Date: Tue, 19 Nov 2013 13:47:22 -0700 From: Eric Blake MIME-Version: 1.0 References: <1384697924-16918-1-git-send-email-mreitz@redhat.com> <1384697924-16918-3-git-send-email-mreitz@redhat.com> In-Reply-To: <1384697924-16918-3-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lTHs8MOk52H4TeG7wTpnLegP2rGW6E1ap" Subject: Re: [Qemu-devel] [PATCH 2/4] qcow2-refcount: Sanitize refcount table size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lTHs8MOk52H4TeG7wTpnLegP2rGW6E1ap Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11/17/2013 07:18 AM, Max Reitz wrote: > Make sure the refcount table size will not overflow when multiplied by > sizeof(uint64_t) and implicitly casted to int. s/casted/cast/ >=20 > Signed-off-by: Max Reitz > --- > block/qcow2-refcount.c | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --lTHs8MOk52H4TeG7wTpnLegP2rGW6E1ap Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSi85aAAoJEKeha0olJ0NqtCUIAJRiuN5U8dW6s1Pr7CbZAdEf Pofw5EMJ9Qk/u/+3H9fDHPsHCzeUewrKbqhLFAY1TmbZapkEKN3NUjgeD8sp1z5T 2zLf8FmhDXrVgAKmOrw25GJW5Atv5FiATB3mrNH9FYnrhaNA6+/RTs3hHh1L4R5Z 2/K5Z0HHyyyv8b19OYUwoJKxu0UOow0Z9JoGjo6ufOtkjwPdOO6g2CS6WHoXDcCP YFa/cKE6d31OqWaVFkcXww0F6upe8dKJHVQJS3im30HeLqcEWETeCETrjgoJcrnG 1t8sx+UHhqpm/xTPKEOPeTHyifIE+FbRW22h7Adcu+/Y8Bob055Jv8qYr7Vxvm0= =/QmQ -----END PGP SIGNATURE----- --lTHs8MOk52H4TeG7wTpnLegP2rGW6E1ap--