mirror of
https://github.com/cuberite/polarssl.git
synced 2025-11-03 04:02:19 -05:00
PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION shifts the location value (location << 8). This can go outside the range of a 32-bit int if the location value is above 2^23 as is the case here. Asan rightfully complained about it. Make the value unsigned to avoid the integer overflow. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>