mbedtls/tests
Werner Lewis 12ddae870c Fix memcpy() UB in mbedtls_asn1_named_data()
Removes a case in mbedtls_asn1_named_data() where memcpy() could be
called with a null pointer and zero length. A test case is added for
this code path, to catch the undefined behavior when running tests with
UBSan.

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
2022-05-04 12:23:26 +01:00
..
.jenkins Add Jenkinsfile for PR job 2018-10-19 15:25:10 +01:00
configs Add header guard around malloc(0) returning NULL implementation 2022-03-04 15:25:42 -05:00
data_files More precise testing of dhm_min_len 2021-04-01 14:18:31 +02:00
docker/bionic Remove accidental requirement on the worktree content 2021-12-02 13:19:19 +01:00
git-scripts Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
include Fix ARIA support in test driver configuration 2022-04-12 17:15:56 +02:00
scripts Merge pull request #5754 from gilles-peskine-arm/psa-storage-format-test-exercise-2.28 2022-04-28 18:20:09 +02:00
src Use MAX_SIZE macros instead of hard-coding IV/nonce max size 2022-04-21 11:14:52 +02:00
suites Fix memcpy() UB in mbedtls_asn1_named_data() 2022-05-04 12:23:26 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-11-30 14:49:19 +01:00
CMakeLists.txt CMake: generate the list of test suites automatically 2022-01-25 23:28:51 +01:00
compat-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
compat.sh Add comment in compat.sh about callers 2022-04-14 09:29:01 +02:00
context-info.sh Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development 2020-11-04 17:55:42 +01:00
Descriptions.txt Add selftest program to the list of tests 2014-04-04 16:33:01 +02:00
make-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile tests: Add build of a PSA test driver library 2021-11-30 14:49:19 +01:00
ssl-opt-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl-opt.sh Use terse output from lsof 2022-04-16 11:21:38 +02:00