This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix bug report #508
From: Daniel Jacobowitz <drow@mvista.com>
Date: Thu, 25 Apr 2002 21:17:10 -0400
On Thu, Apr 25, 2002 at 05:59:51PM -0700, David S. Miller wrote:
> Wait... I was told that an alloca() length argument change
> was anything but obvious. How is this any different?
The code was reallocing with the number of elements in the array
instead of the size of the array. That was obvious from my reading of
the patch alone, and made sense with respect to the PR filed yesterday
about this. If that's not "obvious", I don't know what is.
Sorry, my comment wasn't directed at you personally, but rather was
meant to point out double standards on "what is obvious" in general
that occurs here.