diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-10-26 17:19:15 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-10-26 17:19:15 +0400 |
commit | a5fa80e2a069e35331af10369d810b4daa63635b (patch) | |
tree | cde72d630e4066581f9818b3a506b6433e343923 /openssl0.9.8/patches/CVE-2012-1165.patch | |
parent | a66434a8c8bc288d863e0f649e8e465ac4525043 (diff) | |
download | cibs-pkgs-a5fa80e2a069e35331af10369d810b4daa63635b.tar.gz |
openssl 0.9.8 mostly done
Diffstat (limited to 'openssl0.9.8/patches/CVE-2012-1165.patch')
-rw-r--r-- | openssl0.9.8/patches/CVE-2012-1165.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openssl0.9.8/patches/CVE-2012-1165.patch b/openssl0.9.8/patches/CVE-2012-1165.patch new file mode 100644 index 0000000..7abc720 --- /dev/null +++ b/openssl0.9.8/patches/CVE-2012-1165.patch @@ -0,0 +1,22 @@ +Index: openssl-0.9.8o/crypto/asn1/asn_mime.c +=================================================================== +--- openssl-0.9.8o.orig/crypto/asn1/asn_mime.c 2009-03-08 23:05:34.000000000 +0000 ++++ openssl-0.9.8o/crypto/asn1/asn_mime.c 2012-03-17 15:09:03.000000000 +0000 +@@ -790,12 +790,17 @@ + static int mime_hdr_cmp(const MIME_HEADER * const *a, + const MIME_HEADER * const *b) + { ++ if (!(*a)->name || !(*b)->name) ++ return !!(*a)->name - !!(*b)->name; ++ + return(strcmp((*a)->name, (*b)->name)); + } + + static int mime_param_cmp(const MIME_PARAM * const *a, + const MIME_PARAM * const *b) + { ++ if (!(*a)->param_name || !(*b)->param_name) ++ return !!(*a)->param_name - !!(*b)->param_name; + return(strcmp((*a)->param_name, (*b)->param_name)); + } + |