On Sun, Feb 25, 2007 at 11:36:34PM +0800, Moore Michael wrote:
> Hi there
>
> I use net-snmp-5.4, and there's a NULL pointer operator in
> snmplib/snmp_api.c
>
> void *
> snmp_sess_pointer(netsnmp_session * session)
> {
>struct session_list *slp;
>
>snmp_res_lock(MT_LIBRA
Hi there
I use net-snmp-5.4, and there's a NULL pointer operator in
snmplib/snmp_api.c
void *
snmp_sess_pointer(netsnmp_session * session)
{
struct session_list *slp;
snmp_res_lock(MT_LIBRARY_ID, MT_LIB_SESSION);
for (slp = Sessions; slp!=NULL; slp = slp->next) {