Received: from eggs.gnu.org ([208.118.235.92]:42153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBOBu-0007rD-47 for qemu-devel@nongnu.org; Tue, 22 Dec 2015 09:45:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBOBq-0007Hi-Qp for qemu-devel@nongnu.org; Tue, 22 Dec 2015 09:45:30 -0500 Date: Tue, 22 Dec 2015 20:15:19 +0530 (IST) From: P J P In-Reply-To: <20151222133656.GA5330@nanopsycho.orion> Message-ID: References: <20151222133656.GA5330@nanopsycho.orion> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] net: rocker: fix an incorrect array bounds check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jiri Pirko Cc: Qinghao Tang , Scott Feldman , qemu-devel@nongnu.org, qemu-stable@nongnu.org +-- On Tue, 22 Dec 2015, Jiri Pirko wrote --+ | >From f3461d8098a0572786f5a2d7a492863090c73134 Mon Sep 17 00:00:00 2001 | >From: Prasad J Pandit | >Date: Tue, 22 Dec 2015 18:21:00 +0530 | >Subject: [PATCH] net: rocker: fix an incorrect array bounds check | > | >While processing transmit(tx) descriptors in 'tx_consume' routine | >the switch emulator suffers from an off-by-one error, if a | >descriptor was to have more than allowed(ROCKER_TX_FRAGS_MAX) | >fragments. Fix an incorrect bounds check to avoid it. | > | >Reported-by: Qinghao Tang | >Signed-off-by: Prasad J Pandit | | Reviewed-by: Jiri Pirko Thank you. (CC'd qemu-stable for 2.5) -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F