David Horstmann d3efb92922 Add underflow check to UNPOISON counter decrement
Make sure that extra UNPOISON calls do not cause the poisoning counter
to underflow and wrap around.

Memory that is unpoisoned multiple times should remain unpoisoned.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-01-17 15:27:50 +00:00
..
.jenkins
configs update headers 2023-11-02 19:47:20 +00:00
data_files Merge pull request #7649 from yuhaoth/pr/add-command-for-server9-bad-saltlen 2023-11-20 14:07:19 +00:00
docker/bionic update headers 2023-11-02 19:47:20 +00:00
git-scripts update headers 2023-11-02 19:47:20 +00:00
include Add underflow check to UNPOISON counter decrement 2024-01-17 15:27:50 +00:00
opt-testcases replace check string 2023-11-21 09:59:25 +08:00
scripts Separate memory poisoning tests from generic ASan 2024-01-17 14:53:08 +00:00
src Change memory poisoning flag to a count 2024-01-17 14:23:20 +00:00
suites Move wrapper include to psa_crypto_helpers.h 2023-12-14 16:09:07 +00:00
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
CMakeLists.txt Request C11 in CMake (but only for tests) 2024-01-17 14:02:40 +00:00
compat-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
compat.sh Merge pull request #8462 from daverodgman/license-change 2023-11-04 15:47:07 +01:00
context-info.sh update headers 2023-11-02 19:47:20 +00:00
Descriptions.txt
make-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
Makefile Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
ssl-opt-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
ssl-opt.sh Align forced ciphersuite with test description 2023-11-28 17:52:42 +01:00