Re: Can string overruns overwrite snmpd.c?

Leo Lin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Dave,
 
I've located the source of the problem.  And yes, string overruns does not corrupt the source files.
 
Leo;

--- On Sun, 10/17/10, Dave Shield <[email protected]> wrote:


From: Dave Shield <[email protected]>
Subject: Re: Can string overruns overwrite snmpd.c?
To: "Leo Lin" <[email protected]>
Cc: "Net-snmp-users" <[email protected]>
Date: Sunday, October 17, 2010, 1:38 AM


On 16 October 2010 19:07, Leo Lin <[email protected]> wrote:
> if the mib2c extension custom code create string overruns,
> and it overwrite snmpd.c source code?

No.

Buffer over-runs could potentially corupt the run-time image of running
process, but would not affect either the application binary, nor the source
code.


Whatever is causing the problems you are seeing, it can not possibly
be string overruns from your new module.

Dave

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev

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