This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][PING][PR gdb/19374] null-ptr dereference on solaris when running get_osdata( "processes" )
- From: Tom Tromey <tom at tromey dot com>
- To: Brian Vandenberg <phantall at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 08 Aug 2018 09:06:02 -0600
- Subject: Re: [PATCH][PING][PR gdb/19374] null-ptr dereference on solaris when running get_osdata( "processes" )
- References: <CAEJ-0i8AgKLaFKUnp0CzFpAzkwSg1_G=qNxCtM69BeNajWCL6Q@mail.gmail.com>
>>>>> "Brian" == Brian Vandenberg <phantall@gmail.com> writes:
Brian> note: this patch was tested against 8.1.1. I don't know [yet] whether
Brian> this is still a problem in 8.2 because of the procfs C++ conversion.
Brian> The same logic still exists but "beneath" appears to be a function
Brian> object.
Now you call beneath() to get the object beneath.
At least one spot (see windows_nat_target::xfer_partial) checks this for NULL.
Tom