Skip to content

mod/cmn_cyprus: Prevent overflow with 64-bit shifts in bitmask functions

Wei-Chia Su requested to merge ws/fix-overflow-before-widen into main

Updated bitmask calculation functions to use UINT64_C(0x1) for shifts, ensuring 64-bit integer operations and preventing overflow issues when shifting large values.

Signed-off-by: Wei-Chia Su Wei-Chia.Su@arm.com

Merge request reports

Loading