Received: from eggs.gnu.org ([2001:4830:134:3::10]:47880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7i0H-0002Vn-8B for qemu-devel@nongnu.org; Tue, 31 May 2016 07:38:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7i0C-00011g-7n for qemu-devel@nongnu.org; Tue, 31 May 2016 07:38:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7i0C-00011b-2p for qemu-devel@nongnu.org; Tue, 31 May 2016 07:38:28 -0400 Date: Tue, 31 May 2016 17:08:18 +0530 (IST) From: P J P In-Reply-To: Message-ID: References: <1464634728-8723-1-git-send-email-ppandit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] scsi: esp: check TI buffer index before read/write List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Qemu Developers , Paolo Bonzini , Huawei PSIRT +-- On Tue, 31 May 2016, Peter Maydell wrote --+ | This is a FIFO *read*, and the trace message is for the case when the FIFO | is too full, which can't happen for a read. Okay. | OK, so we need to fix these code paths so that they keep all of the read, | write and size values in sync (or just rewrite the code so it isn't tracking | three values, since two out of three should determine the other. I've sent a revised patch v2. Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F