[commit] objc-lang.c, classes_info, avoid string overrun
Tom Tromey
tromey@redhat.com
Tue Mar 1 14:31:00 GMT 2011
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
Michael> 2011-02-28 Michael Snyder <msnyder@vmware.com>
Michael> * objc-lang.c (selectors_info): Add a small safety margin to
Michael> avoid overflow.
Michael> (classes_info): Error out on too long REGEXP.
I don't really mind this kind of cleanup, but it seems like it would
simpler to just fix the underlying bug entirely, say by using malloc and
a cleanup.
Tom
More information about the Gdb-patches
mailing list