Re: double-free crash in agentx/master.c (bug #2943)

2019-07-08 Thread Sam Tannous
Hello, Can we just add something like AGENTX_MSG_FLAG_DISCONNECT_IN_PROGRESS in close_agents_session() ? sesssion->subsession->flags = AGENTX_MSG_FLAG_DISCONNECT_IN_PROGRESS; So that later in agentx_master_handler() we can check ax_session->subsession->flags so we can check this: if

Re: [net-snmp:code] 2 new commits to Code

2019-07-08 Thread Bart Van Assche
Hi Bill, To avoid confusion: does your comment apply to commit a88d81f1144e ("NET-SNMP-SYSTEM-MIB, Linux: Update calculation of free space") only or also to commit 4e3ace87b566 ("NET-SNMP-SYSTEM-MIB: Account reclaimable space")? Thanks,

Re: [net-snmp:code] 2 new commits to Code

2019-07-08 Thread Bill Fenner via Net-snmp-coders
There's a long history of telling people "You're polling a Linux system, you have to know that you subtract buffers and cached from physical before you report free memory" in the HOST-RESOURCES-MIB. I'm not against simplifying, but - if people have data collection set up for "the old way", where