From: Miklos Vajna Date: Thu, 09 Oct 2008 00:17:27 GMT Subject: Re: [PATCH maint] builtin-merge.c: fix memory under-allocation Message-ID: <20081009001727.GP536@genesis.frugalware.org> In-Reply-To: On Wed, Oct 08, 2008 at 07:07:54PM -0500, Brandon Casey wrote: > While we're at it, change the allocation to reference the variable it is > allocating memory for to try to prevent a similar mistake if the type is > changed in the future. If this is really a problem, then I think it would be good to mention this in Documentation/CodingGuidelines.