This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [PATCH][PING][PR gdb/19374] null-ptr dereference on solaris when running get_osdata( "processes" )


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]