components/net-snmp/patches/007.16863.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 01 Apr 2014 01:39:06 -0700
branchs11-update
changeset 3034 98abf9cbe649
parent 252 ee0fb1eabcbf
permissions -rw-r--r--
18457505 Upgrade Wireshark to version 1.10.6 18384235 problem in UTILITY/WIRESHARK

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;