File: BUG

package info (click to toggle)
net-snmp 5.9.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,720 kB
  • sloc: ansic: 282,878; perl: 17,704; sh: 12,151; makefile: 2,711; python: 734; xml: 663; pascal: 62; sql: 47
file content (40 lines) | stat: -rw-r--r-- 1,053 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

1) Memory leak (have not seen this lately)

The following snippet used to grow in memory (and may still) - please
notify me if anyone still observes this and even better has a fix.

perl -le '
use SNMP;
$obj = new SNMP::Session DestHost, "dubravka";
while (){
print $obj->get(["ifNumber",0]);
}
'

***Note: need to verify this with the async API as well***

2) not sure if this is a bug but I can cause a crash with a 'goto
LABEL;' from within an async callback function.

3) the following varbind format is not encoded correctly ... I have seen this crash the agent as well

$sess->get(["sysDescr.0"]);

use the following instead:

$sess->get(["sysDescr",0]);
or
$sess->get("sysDescr.0");

4) this is not handled yet
$sess->get(['MODULE-NAME::mibName',0]);
but strangely
$sess->get(['MODULE-NAME::mibName.0']);
works

5) if you are on a system that does not have vsnprintf in libc but you
do have BerkleyDB installed ucd configure will assume you will get it
from there - you will need to change hints/solaris.pl to

$self->{LIBS} .= ' -lkstat -ldb';