mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-03 02:06:33 +08: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> |
||
|---|---|---|
| .. | ||
| .jenkins | ||
| configs | ||
| data_files | ||
| docker/bionic | ||
| git-scripts | ||
| include | ||
| scripts | ||
| src | ||
| suites | ||
| .gitignore | ||
| CMakeLists.txt | ||
| compat-in-docker.sh | ||
| compat.sh | ||
| context-info.sh | ||
| Descriptions.txt | ||
| make-in-docker.sh | ||
| Makefile | ||
| ssl-opt-in-docker.sh | ||
| ssl-opt.sh | ||