summaryrefslogtreecommitdiff
path: root/src/sim/faults.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-02-16 03:34:35 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-02-16 03:34:35 -0500
commit661dac1598183f13d83435aa2f8ccf317284a055 (patch)
tree45620962e7679ae4695fbbb6daf8a39a30425d6f /src/sim/faults.cc
parent0a2ee7761617355dd981ce255aa082102d7316b4 (diff)
downloadgem5-661dac1598183f13d83435aa2f8ccf317284a055.tar.xz
dev: Fix undefined behaviuor in i8254xGBe
This patch fixes a rather unfortunate oversight where the annotation pointer was used even though it is null. Somehow the code still works, but UBSan is rather unhappy. The use is now guarded, and the variable is initialised in the constructor (as well as init()).
Diffstat (limited to 'src/sim/faults.cc')
0 files changed, 0 insertions, 0 deletions