[openssl-dev] [openssl.org #2914] Crash in x_name.c on out of memory

2015-01-04 Thread Rich Salz via RT
Thanks. OpenSSL_1_0_1-stable 9e9ee7e RT2914: NULL check missing in X509_name_canon OpenSSL_1_0_2-stable 9f49067 RT2914: NULL check missing in X509_name_canon master 2c60925 RT2914: NULL check missing in X509_name_canon Author: Rich Salz Date: Sun Jan 4 14:51:04 2015 -0500 RT2914: NULL check mis

[openssl.org #2914] Crash in x_name.c on out of memory

2012-11-20 Thread Ajit Dhumale via RT
Hello, While investigating a crash, I observed that x_name.c uses return value of X509_NAME_ENTRY_new without checking for NULL. Under out-of-memory condition, this leads to a crash. Here it a patch that fixed the crash for me (also attached). --- crypto/asn1/x_name.c2012-02-27 11:00:0