summaryrefslogtreecommitdiff
path: root/src/base/random.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-02-11 10:23:23 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-02-11 10:23:23 -0500
commitc9b8616c515f7689baf0706a9c17d3f9d625ef04 (patch)
treec4fff2a4328144c81860d92080c7a5a22f39d136 /src/base/random.cc
parent431a6d708b4346ec81bade79033cc34308a5144f (diff)
downloadgem5-c9b8616c515f7689baf0706a9c17d3f9d625ef04.tar.xz
base: Do not dereference NULL in CompoundFlag creation
This patch fixes the CompoundFlag constructor, ensuring that it does not dereference NULL. Doing so has undefined behaviuor, and both clang and gcc's undefined-behaviour sanitiser was rather unhappy.
Diffstat (limited to 'src/base/random.cc')
0 files changed, 0 insertions, 0 deletions