added files
[bcm963xx.git] / userapps / opensource / net-snmp / perl / SNMP / BUG
1
2 1) Memory leak (have not seen this lately)
3
4 The following snippet used to grow in memory (and may still) - please
5 notify me if anyone still observes this and even better has a fix.
6
7 perl -le '
8 use SNMP;
9 $obj = new SNMP::Session DestHost, "dubravka";
10 while (){
11 print $obj->get(["ifNumber",0]);
12 }
13 '
14
15 ***Note: need to verify this with the async API as well***
16
17 2) not sure if this is a bug but I can cause a crash with a 'goto
18 LABEL;' from within an async callback function.
19
20 3) the following varbind format is not encoded correctly ... I have seen this crash the agent as well
21
22 $sess->get(["sysDescr.0"]);
23
24 use the following instead:
25
26 $sess->get(["sysDescr",0]);
27 or
28 $sess->get("sysDescr.0");
29
30 4) this is not handled yet
31 $sess->get(['MODULE-NAME::mibName',0]);
32 but strangely
33 $sess->get(['MODULE-NAME::mibName.0']);
34 works
35
36 5) if you are on a system that does not have vsnprintf in libc but you
37 do have BerkleyDB installed ucd configure will assume you will get it
38 from there - you will need to change hints/solaris.pl to
39
40 $self->{LIBS} .= ' -lkstat -ldb';