Make sure PKCS7_get_octet_string() return values are checked for NULL.
authormiod <miod@openbsd.org>
Tue, 6 May 2014 20:17:16 +0000 (20:17 +0000)
committermiod <miod@openbsd.org>
Tue, 6 May 2014 20:17:16 +0000 (20:17 +0000)
commit5b5e91aeae26b4c95cfce8aa9552cdb75cb7034a
treef04f3671fbdde7f7054c9f76398aeb525140dc31
parent949214e78156715e5aa22cab8087a8c84c239fda
Make sure PKCS7_get_octet_string() return values are checked for NULL.
Reported by David Ramos (and simultaneously to OpenSSL as PR#3339).

ok beck@ logan@
lib/libcrypto/pkcs7/pk7_doit.c
lib/libssl/src/crypto/pkcs7/pk7_doit.c