author | gowtham thommandra - Sun Microsystems - Bangalore India <Gowtham.Thommandra@Sun.COM> |
Fri, 20 May 2011 12:17:45 +0530 | |
changeset 252 | ee0fb1eabcbf |
permissions | -rw-r--r-- |
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;