[AGENT++] snmp++v3.2.23 parse ans1 bug
成俊南
chengjunnan at revenco.com
Sun Jul 20 13:20:04 CEST 2008
I use snmp++v3.2.23.tar and agent++v3.5.29.tar. When Snmp get 6 or over 6
oid, agent no response.
on aix 5.3 fixed:
asn1.cpp
unsigned char * asn_parse_length( unsigned char *data, unsigned long
*length)
*length >>= (8 * ((sizeof(long)) - lengthbyte));
Note: sizeof(int)=4 sizeof(long)=8
on solaris fixed:
Machine hardware: i86pc
OS version: 5.10
Processor type: i386
Hardware: i86pc
asn1.cpp
unsigned char * asn_parse_length( unsigned char *data, unsigned long
*length)
*length >>= (8 * ((sizeof(int)) - lengthbyte));
Note: sizeof(int)=4 sizeof(long)=8
成俊南
产品研发部 系统支撑组
广州从兴电子开发有限公司
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::
TEL:87131209 13632386164
MAIL:chengjunnan at revenco.com
ADDR:广州市广州大道南368号21F 510300
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
More information about the AGENTPP
mailing list