components/net-snmp/patches/007.16863.patch
changeset 1679 51291a5fd692
parent 252 ee0fb1eabcbf
equal deleted inserted replaced
1678:68d1cdc71760 1679:51291a5fd692
       
     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;