Branch: refs/heads/openssl-3.0 Home: https://github.openssl.org/openssl/openssl Commit: 2814834bf2f4e7923294326b0251c3a6579b1312 https://github.openssl.org/openssl/openssl/commit/2814834bf2f4e7923294326b0251c3a6579b1312 Author: Jiasheng Jiang <jiash...@iscas.ac.cn> Date: 2022-06-22 (Wed, 22 Jun 2022)
Changed paths: M crypto/x509/by_store.c Log Message: ----------- crypto/x509/by_store.c: Add check for OPENSSL_strdup As the potential failure of the OPENSSL_strdup(), it should be better to check the return value and return error if fails. Signed-off-by: Jiasheng Jiang <jiash...@iscas.ac.cn> Reviewed-by: Tomas Mraz <to...@openssl.org> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18593) (cherry picked from commit e163969d3580e5b797fcebde0d3000302912ef18)