components/net-snmp/patches/007.16863.patch
changeset 1650 ce501c11d5fa
parent 1649 81d624418adc
child 1651 0e3a608a1823
equal deleted inserted replaced
1649:81d624418adc 1650:ce501c11d5fa
     1 Index: net-snmp/snmplib/asn1.c
       
     2 ===================================================================
       
     3 --- net-snmp/snmplib/asn1.c	(revision 16862)
       
     4 +++ net-snmp/snmplib/asn1.c	(revision 16863)
       
     5 @@ -2735,7 +2735,7 @@
       
     6      }
       
     7  
       
     8      CHECK_OVERFLOW_S(integer,10);
       
     9 -    testvalue = (*intp < 0) ? -1 : 0;
       
    10 +    testvalue = (integer < 0) ? -1 : 0;
       
    11  
       
    12      if (((*pkt_len - *offset) < 1) && !(r && asn_realloc(pkt, pkt_len))) {
       
    13          return 0;