mbedtls/tests
Werner Lewis e59a531455 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 11:45:06 +01:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
configs Remove use_psa_crypto in test scripts 2022-03-22 15:13:35 +08:00
data_files tests: data_files: Avoid symbolic links 2021-12-10 15:09:57 +01:00
docker/bionic Jinja2 prerequisite set up on the docker 2021-12-18 13:29:10 +05:30
git-scripts Update scripts to use check-names.py 2021-08-06 21:04:32 +01:00
include tests: Init PSA crypto if TLS 1.3 is enabled 2022-03-29 18:58:31 +02:00
opt-testcases generate_tls13_compat_tests.py: Fix/Unify parameter ordering 2022-04-19 18:31:24 +02:00
scripts Merge pull request #5644 from gilles-peskine-arm/psa-storage-format-test-exercise 2022-04-28 18:20:02 +02:00
src Use MAX_SIZE macros instead of hard-coding IV/nonce max size 2022-04-21 11:33:17 +02:00
suites Fix memcpy() UB in mbedtls_asn1_named_data() 2022-05-04 11:45:06 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Merge pull request #5635 from gilles-peskine-arm/psa-test-op-fail 2022-04-15 10:52:47 +02:00
compat-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
compat.sh Add comment in compat.sh about callers 2022-04-14 09:21:56 +02:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile Declare modules used by generate_psa_tests.py as dependencies 2022-03-15 18:32:10 +01:00
ssl-opt-in-docker.sh Upgrade gnutls-next to 3.7.2 2021-09-02 17:31:10 +08:00
ssl-opt.sh Merge pull request #5704 from mprse/mixed_psk_2cx 2022-04-29 10:47:16 +02:00