Received: from eggs.gnu.org ([2001:4830:134:3::10]:57724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHoYV-0002LM-1u for qemu-devel@nongnu.org; Tue, 28 Jun 2016 04:39:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHoYQ-0006oA-Qu for qemu-devel@nongnu.org; Tue, 28 Jun 2016 04:39:37 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:37220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHoYQ-0006o4-JP for qemu-devel@nongnu.org; Tue, 28 Jun 2016 04:39:34 -0400 Received: by mail-wm0-x229.google.com with SMTP id a66so16382615wme.0 for ; Tue, 28 Jun 2016 01:39:34 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 28 Jun 2016 10:39:27 +0200 Message-Id: <1467103170-5784-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] m25p80: various fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: clg@kaod.org The first causes a failure in the new qtest. The second fixes a possible out-of-bounds access, and the third fixes again half of the same out-of-bounds access. Paolo Bonzini (3): m25p80: do not put iovec on the stack m25p80: avoid out of bounds accesses m25p80: change cur_addr to 32 bit integer hw/block/m25p80.c | 54 +++++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 25 deletions(-) -- 2.7.4