>
>
> From: Thomas Anders <[EMAIL PROTECTED]>
> Date: November 13, 2006 10:05:59 AM CST
> To: [email protected]
> Subject: rfv: properly protect nlist code in snmplib/system.c
> Reply-To: [email protected]
>
>
> -Coders,
>
> snmplib/system.c uses nlist() (and open(/dev/kmem), lseek and read)
> without properly protecting the code by #ifdef NETSNMP_CAN_USE_NLIST.
> Thus, this code is active even if --without-kmem-usage has been
> specified (recommended in README.aix and README.irix for 64-bit  
> builds),
> which is a bug.
>
> The attached patch fixes this. I'm calling for votes to include  
> this in 5.4.
>
> Note1: This issue hasn't been catched before because the code doesn't
> use NETSNMP_KLOOKUP like everything else -- to be cleaned up after  
> 5.4.
>
> Note2: I suggest to review the resulting code rather than the patch,
> because I find it easier to read. YMMV, of course.
>
>
> +Thomas

[patch snipped]

As a motivated user (I'm trying to run on AIX with --without-kmem- 
usage), I vote +1 :-)

...Demetri


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to