diff options
author | Xufeng Zhang <xufeng.zhang@windriver.com> | 2013-08-22 11:12:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:47:17 +0100 |
commit | c82255d90b2d26c8affcbb81bfa4793033610de1 (patch) | |
tree | 52a20d31943f4cb7bb08389a4d98b276fd1bfc41 /meta/recipes-connectivity/openssl/openssl_1.0.1e.bb | |
parent | b9f0fc6e983f492533fd9321183666d61f474a58 (diff) | |
download | poky-c82255d90b2d26c8affcbb81bfa4793033610de1.tar.gz |
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>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl_1.0.1e.bb')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.0.1e.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb index bd6fd046a3..ac27dba494 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb | |||
@@ -31,6 +31,8 @@ SRC_URI += "file://configure-targets.patch \ | |||
31 | file://openssl_fix_for_x32.patch \ | 31 | file://openssl_fix_for_x32.patch \ |
32 | file://openssl-fix-doc.patch \ | 32 | file://openssl-fix-doc.patch \ |
33 | file://fix-cipher-des-ede3-cfb1.patch \ | 33 | file://fix-cipher-des-ede3-cfb1.patch \ |
34 | file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ | ||
35 | file://openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch \ | ||
34 | file://find.pl \ | 36 | file://find.pl \ |
35 | " | 37 | " |
36 | 38 | ||