openssl: avoid NULL pointer dereference in three places
authorXufeng Zhang <xufeng.zhang@windriver.com>
Thu, 22 Aug 2013 03:12:28 +0000 (11:12 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:47:17 +0000 (11:47 +0100)
commitec55318630bd113a0e793cd0f099704cc9a03308
tree5cc03d749d891e2e56b19fcf4558a2c10f3456b5
parent502e2c334dd4d5ffd4e31ffbfcf7169589062a83
openssl: avoid NULL pointer dereference in three places

There are three potential NULL pointer dereference in
EVP_DigestInit_ex(), dh_pub_encode() and dsa_pub_encode()
functions.
Fix them by adding proper null pointer check.

[YOCTO #4600]
[ CQID: WIND00373257 ]

(From OE-Core rev: 4779d3c89cf0129763a4f5b7306c1247a0d6d021)

Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl-1.0.1e/openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl_1.0.1e.bb