Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuaYH-0005QW-C2 for qemu-devel@nongnu.org; Thu, 05 Jan 2006 14:13:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuaYF-0005Q4-NI for qemu-devel@nongnu.org; Thu, 05 Jan 2006 14:13:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuaYE-0005Pf-R1 for qemu-devel@nongnu.org; Thu, 05 Jan 2006 14:13:31 -0500 Received: from [130.161.131.5] (helo=mailservice.tudelft.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuaZr-0001JV-2m for qemu-devel@nongnu.org; Thu, 05 Jan 2006 14:15:11 -0500 Received: from localhost (localhost [127.0.0.1]) by rav.antivirus (Postfix) with ESMTP id D297022F52E for ; Thu, 5 Jan 2006 20:11:39 +0100 (CET) Received: from revolver.vhl.local (x108165.its-m.tudelft.nl [145.94.108.165]) by mx2.tudelft.nl (Postfix) with ESMTP id A50AC22F51A for ; Thu, 5 Jan 2006 20:11:39 +0100 (CET) Received: from revolver.vhl.local (localhost [127.0.0.1]) by revolver.vhl.local (Postfix) with ESMTP id 36089156588 for ; Thu, 5 Jan 2006 20:13:38 +0100 (CET) Date: Thu, 5 Jan 2006 20:13:38 +0100 From: "G.P. Halkes" Message-ID: <20060105201338.305cf078@revolver.vhl.local> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Reminder of previously posted but not integrated patch Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I recently ran into a bug in the slirp code, for which a patch was already posted on the qemu mailing list, but that somehow did not get integrated into CVS. I ran into it in a similar fashion as the original submitter. I tested the patch, and it fixed my problem (and didn't introduce new ones as far as I can tell). The original post is at: http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00228.html It's a small and easy fix. I checked all places where m_inc is called, and it makes no sense what so ever to not change the m_data member. In all cases, the memory where the m_data member points to is immediately written to. This means that it needs to point to valid memory which it doesn't do if realloc moved the buffer. I hope this fix will now soon be integrated into CVS. Regards, Gertjan Halkes