This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
If we don't have, for whatever reason, debugging information for a base class, TYPE_VPTR_FIELDNO may be -1. TYPE_FIELDS may also be NULL. When we access 0[-1], we segfault. This patch conditionalizes the sanity check with another sanity check.
OK to move this onto the 6.0 branch, given schedule? Checked into HEAD, no regressions.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |