> I'm trying to use the net-snmp package, version 5.1.1.
>  
> [EMAIL PROTECTED] anhduy]$ snmpset  -c  private -v 2c 10.32.0.138

  
> Corresponding to above command, this function is called many times with
> almost same-value passed arguments, except for argument "action", it
> increases interactively form 0 (RESERVE1 phase) to 3 (COMMIT phase) -

Yes - that's correct.
(See AGENT.txt for an explanation of why)


> where I had the snmpd crash. I walk through the code and found that this
> is caused by:
>  
>         } else if (action == COMMIT) {
>             rp->rt_ifix = rp->xx_ifix;
>         }
> 
> At this time, variable rp->xx_ifix = 2^32-1, and after the assigned
> statement, I got crash :


Hmmm.....
What's the value of 'rp->rt_ifix' at this point?
What operating system and architecture are you working with?

We've just released a new version of the code (5.1.2).
I doubt that anything has changed here, but it's probably
worth checking whether this also suffers from the same problem.

Dave

PS: Please - no HTML mail.  Thanks




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to