mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-08 06:42:24 +03:00
In ecp_mul_comb(), if (!p_eq_g && grp->T == NULL) and then ecp_precompute_comb() fails (which can happen due to OOM), then the new array of points T will be leaked (as it's newly allocated, but hasn't been asigned to grp->T yet). Symptom was a memory leak in ECDHE key exchange under low memory conditions.
66 KiB
66 KiB