The patch is against net-snmp 5.4.1 code.

But, I can still see the issue on the latest code. If need be, I can 
provide the changes against the latest version.

On March 18, 2014 05:41:46 PM IST, Mohan Gorai wrote:
> Hi,
>
> On Solaris, whenever there is a wrong regex as logmatch parameter,
> when the corresponding structures are being de-allocated, snmpd
> coredumps.
>
> This is because we are freeing the structures using regfree(), even
> when the corresponding regcomp() returns with an error. The attached
> patch fixes the issue.
>
> Can someone evaluate the patch?
>
> Thanks!
> -- Mohan.

Thanks!
-- Mohan.

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to