Re: snmpd with -D seg faults

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> Can you try the following patch, and see if it helps.
> 
> --- agent_registry.c.cln        2006-02-15 13:25:22.603744208 +0000
> +++ agent_registry.c    2006-02-15 13:27:11.136244760 +0000
> @@ -587,7 +587,8 @@
>      DEBUGMSGTL(("register_mib", "registering \"%s\" at ", moduleName));
>      DEBUGMSGOIDRANGE(("register_mib", mibloc, mibloclen, range_subid,
>                        range_ubound));
> -    DEBUGMSG(("register_mib", " with context \"%s\"\n", context));
> +    DEBUGMSG(("register_mib", " with context \"%s\"\n",
> +                                    (context ? context : "(null)")));
> 
>      /*
>       * verify that the passed context is equal to the context

I've applied this patch to all branches. It'll appear in 5.0.11, 5.2.3, 
5.3.1 and 5.4.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


_______________________________________________
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.