Fixed issue with NULL pointer access on header var.
authorCupertino Miranda <cmiranda@synopsys.com>
Fri, 26 Aug 2016 20:15:23 +0000 (22:15 +0200)
committerCupertino Miranda <cmiranda@synopsys.com>
Tue, 30 Aug 2016 16:21:13 +0000 (18:21 +0200)
commit7763838e991e4d17a24c4214db5144eefd515543
tree338fdbcd756808384bbde3b17929332bda179c37
parent5af962df4dda65216b83d0a954ea355296517f4b
Fixed issue with NULL pointer access on header var.

Variable "header" in function is set conditionally, but was accessed without
verifying if pointer was NULL.

opcodes/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>
* opcodes/arc-dis.c (print_insn_arc): Changed.
opcodes/ChangeLog
opcodes/arc-dis.c