(open_and_init_dwp_file): Protect against some segvs
authorDoug Evans <dje@google.com>
Thu, 28 Sep 2017 16:20:59 +0000 (09:20 -0700)
committerDoug Evans <dje@google.com>
Thu, 28 Sep 2017 16:24:48 +0000 (09:24 -0700)
commit08302ed2cb8b175e3bbd4308879154baf64e6d98
treefd30f1e1139151b6923393fa2c47ca2f2c072fce
parent231ca753239211b72eb761593083a0ee859274e7
(open_and_init_dwp_file): Protect against some segvs

This is a "tiny patch", no assignment required.

2017-09-28  Alexander Shaposhnikov <alexander.v.shaposhnikov@gmail.com>

* dwarf2read.c (open_and_init_dwp_file): Protect against dwp_file
having NULL cus or tus.
gdb/ChangeLog
gdb/dwarf2read.c