From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya0tJ-0005Is-LL for qemu-devel@nongnu.org; Mon, 23 Mar 2015 07:51:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya0tF-0004Jt-Fq for qemu-devel@nongnu.org; Mon, 23 Mar 2015 07:51:33 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:36481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya0tF-0004Jj-9v for qemu-devel@nongnu.org; Mon, 23 Mar 2015 07:51:29 -0400 Received: by wetk59 with SMTP id k59so135629214wet.3 for ; Mon, 23 Mar 2015 04:51:28 -0700 (PDT) Date: Mon, 23 Mar 2015 11:51:24 +0000 From: Stefan Hajnoczi Message-ID: <20150323115124.GA9268@stefanha-thinkpad.redhat.com> References: <1426348844-8793-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <1426348844-8793-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [PATCH] nvme: Fix unintentional integer overflow (OVERFLOW_BEFORE_WIDEN) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Keith Busch , Kevin Wolf , QEMU Developer , Stefan Hajnoczi --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 14, 2015 at 05:00:44PM +0100, Stefan Weil wrote: > The shift operation on nlb gives a 32 bit result if no type cast is > applied. This bug was reported by Coverity. >=20 > Signed-off-by: Stefan Weil > --- > hw/block/nvme.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --J/dobhs11T7y2rNN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVD/48AAoJEJykq7OBq3PIDGQH/RQ0n3vNjKLfMWxwcm2+iaZK dQXbuSf9ErG/96XMxX8c+F3kIC9CvjEpSf/GmM6Vif9GZQX67/QVopDAvXIg3Hqk jCZCyUvVZXHuhY2ewxYz8pQ6sOV4mUK9m/5kvswa6GgjhyEAfVhn5ZNTWKFqKAeN eBBIqFfI2xVnVxoCgMqlZvu8cp596aIga13ig2wMHa8fT4PnqBt85hrKcIaSjVJE /tdKomvQpl/ZRZctvqg2HZzlpuCyRsju0ljrjPmYxtICxcQmEhK99UQk73Vwq6pF ZRnGb65SH6shKQYDL39nqxRO3swvZoayZmziVSWJzrLSqcoSvYFDCF/62YCiiI8= =/N3A -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--