components/net-snmp/patches/007.16863.patch
author Ronald Jordan <ron.jordan@oracle.com>
Tue, 10 Jun 2014 04:08:50 -0700
branchs11u1sru20-backport
changeset 3173 c059623861df
parent 252 ee0fb1eabcbf
permissions -rw-r--r--
18889686 problem in UTILITY/OPENSSL 18889720 problem in UTILITY/OPENSSL 18889740 problem in UTILITY/OPENSSL 18889837 problem in UTILITY/OPENSSL 18889844 problem in UTILITY/OPENSSL 18889862 problem in UTILITY/OPENSSL 18924227 Upgrade OpenSSL to 1.0.0m 18924454 OpenSSL 1.0.0m upgrade requires removal of patch fix for CVE-2014-0076 18924292 Build failure caused by OpenSSL 1.0.0m upgrade

Index: net-snmp/snmplib/asn1.c
===================================================================
--- net-snmp/snmplib/asn1.c	(revision 16862)
+++ net-snmp/snmplib/asn1.c	(revision 16863)
@@ -2735,7 +2735,7 @@
     }
 
     CHECK_OVERFLOW_S(integer,10);
-    testvalue = (*intp < 0) ? -1 : 0;
+    testvalue = (integer < 0) ? -1 : 0;
 
     if (((*pkt_len - *offset) < 1) && !(r && asn_realloc(pkt, pkt_len))) {
         return 0;