mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-30 19:07:48 +08:00
psa_cipher_encrypt() and psa_cipher_decrypt() sometimes add a zero offset to a null pointer when the cipher does not use an IV. This is undefined behavior, although it works as naively expected on most platforms. This can cause a crash with modern Clang+ASan (depending on compiler optimizations). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com> |
||
|---|---|---|
| .. | ||
| 00README.md | ||
| bn_mul-fix-x86-pic-compilation-for-gcc-4.txt | ||
| ecdsa-verify-fixes.txt | ||
| fix_aead_psa_driver_build.txt | ||
| fix_build_tls1_2_with_single_encryption_type.txt | ||
| fix_cmake_using_iar_toolchain.txt | ||
| fix_dh_genprime_error_reporting.txt | ||
| fix_psa_crypto_cipher_h_include.txt | ||
| fix_x509_get_name_mem_leak.txt | ||
| fix_x509_info_hwmodulename.txt | ||
| fix_zeroization.txt | ||
| mpi-add-0-ub.txt | ||
| mpi-most-negative-sint.txt | ||
| muladdc_microblaze.txt | ||
| negative-zero-from-add.txt | ||
| platform-setbuf.txt | ||
| psa_rsa_needs_pk.txt | ||
| psa-ecb-ub.txt | ||
| x509-broken-symlink-handling.txt | ||