Received: from eggs.gnu.org ([2001:4830:134:3::10]:34309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrhfI-0006AM-H6 for qemu-devel@nongnu.org; Thu, 29 Oct 2015 03:30:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrhfF-0002ID-BM for qemu-devel@nongnu.org; Thu, 29 Oct 2015 03:30:28 -0400 Message-ID: <5631CB10.30100@msgid.tls.msk.ru> Date: Thu, 29 Oct 2015 10:30:24 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1444721930-5121-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1444721930-5121-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] gdbstub: Fix buffer overflows in gdb_handle_packet() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, qemu-stable@nongnu.org 13.10.2015 10:38, Kevin Wolf wrote: > Some places in gdb_handle_packet() can get an arbitrary length (most > times directly from the client) and either didn't check it at all or > checked against the wrong value, potentially causing buffer overflows. Applied to -trivial, thank you! /mjt