[php-maint] Bug#423296: Memory leak in snmpget

J.L.H.W. Linkels jlinkels at rnw.an
Tue Apr 1 19:25:51 UTC 2008


Package: php5-snmp
Version: 5.2.0-8+etch10

I am not sure if this bug is still alive, very hard to find some information 
about it. It seems it was reported but never confirmed or closed.

Today I found out that the memory leakage does occur when 
snmp_set_valueretrieval(SNMP_VALUE_PLAIN) is called before calling snmpget.

When the function is not called (and apparently the valueretrieval retains its 
default value) there is NO memory leak.

As to the reference to a possible bug in memory_get_usage(), I can confirm 
that I also use this function to check memory usage when no call is made to 
snmp_set_valueretrieval, and then the memory usage is fine.

Kind regards
Hans Linkels








More information about the pkg-php-maint mailing list