PR28250, Null pointer dereference in debug_class_type_samep
authorAlan Modra <amodra@gmail.com>
Wed, 1 Sep 2021 00:36:08 +0000 (10:06 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 1 Sep 2021 00:38:29 +0000 (10:08 +0930)
commit64cb17196c7b2365ec152991235e686e6dc27a18
tree0e8120a9b41002bc0ebca8e57b3adf957390db20
parentbb1fcfc4b3e2cea7ba9cf23b6e73c58d57b211a0
PR28250, Null pointer dereference in debug_class_type_samep

Typo fix, obviously should be m1->variants != NULL, not
m1->variants == NULL.

PR 28250
* debug.c (debug_class_type_samep): Correct m1->variants test.
binutils/debug.c