commit | 808cdaaf524f6beb95e0ea87fc42711dbddef21a | [log] [tgz] |
---|---|---|
author | Andrei Ziureaev <andrei.ziureaev@arm.com> | Tue Jul 14 16:45:37 2020 +0100 |
committer | David Gibson <david@gibson.dropbear.id.au> | Wed Jul 15 20:40:54 2020 +1000 |
tree | 2e0d6fc07627766861ed40ffb88cf453753f990a | |
parent | 3e3138b4a9565934487d7b39019282e75a894487 [diff] |
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>