summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorAndrei Ziureaev <andrei.ziureaev@arm.com>2020-07-14 16:45:37 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-07-15 20:40:54 +1000
commit808cdaaf524f6beb95e0ea87fc42711dbddef21a (patch)
tree2e0d6fc07627766861ed40ffb88cf453753f990a /util.h
parent3e3138b4a9565934487d7b39019282e75a894487 (diff)
downloaddevice-tree-compiler-808cdaaf524f6beb95e0ea87fc42711dbddef21a.tar.gz
dtc: Avoid UB when shifting
Prevent undefined behavior when shifting by a number that's bigger than or equal to the width of the first operand. Signed-off-by: Andrei Ziureaev <andrei.ziureaev@arm.com> Message-Id: <20200714154542.18064-2-andrei.ziureaev@arm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions