Check if a bfd is NULL before accessing its flags field.
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Jan 2011 14:25:26 +0000 (14:25 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Jan 2011 14:25:26 +0000 (14:25 +0000)
commitcc322803a5a55e75c91b5ad1fd210b79c4a49959
treedf20d5fb7e8d88bd1e62fcc2cd55a98972d7517f
parent2e0ddd9263ea0f772c6563f0e080b001ae6ca475
Check if a bfd is NULL before accessing its flags field.

2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12364
* plugin.c (get_symbols): Check if owner_sec->owner is NULL
before accessing its flags field.
ld/ChangeLog
ld/plugin.c