Re: valgrind reporting invalid read error in table_helper_handler()

Nick Chalk <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello Bart.

Apologies for the delay - been on holiday.

On 22 May 2010 14:24, Bart Van Assche <[email protected]> wrote:
> On Fri, May 21, 2010 at 2:42 PM, Nick Chalk <[email protected]> wrote:
>> Whilst using valgrind to track down a memory leak in the LVS SNMP
>> module, we noticed an unrelated error report in snmpd 5.5 itself.
...
>> Setting tbl_req_info to NULL after the call to table_helper_cleanup(),
>> and testing for this in the if statement, clears the valgrind error
>> report. However, I do not know if this is a good solution, or indeed
>> if a solution is required.
>
> Thanks for the detailed report. Can you please post the changes you
> described above as a patch on the Net-SNMP patch tracker

Done - patch submitted as ID 3009873.

Thanks,
Nick.

-- 
Nick Chalk.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.