From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T74S6-0001VE-7X for qemu-devel@nongnu.org; Thu, 30 Aug 2012 09:06:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T74S0-0004JC-Cu for qemu-devel@nongnu.org; Thu, 30 Aug 2012 09:06:30 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35166 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T74S0-0004IT-5z for qemu-devel@nongnu.org; Thu, 30 Aug 2012 09:06:24 -0400 Message-ID: <503F654A.2090305@suse.de> Date: Thu, 30 Aug 2012 15:06:18 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1346226757-24968-1-git-send-email-peter.maydell@linaro.org> <503E662B.2010903@weilnetz.de> In-Reply-To: <503E662B.2010903@weilnetz.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-1.2] hw/arm_gic.c: Define .class_size in arm_gic_info TypeInfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Peter Maydell , Anthony Liguori , qemu-devel@nongnu.org, patches@linaro.org Am 29.08.2012 20:57, schrieb Stefan Weil: > PS. Are there perhaps more bugs of this sort? A quick test looking > for .class_init without .class_size shows a lot of files. That alone is not wrong. A problem only arises when a new struct ...Class is casted to but the object not sized appropriately through .class_size. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg