ID:               14672
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         *Compile Issues
+Bug Type:         SNMP related
 Operating System: RedHat Linux 6.2
 PHP Version:      4.1.0
 New Comment:

reclassified


Previous Comments:
------------------------------------------------------------------------

[2001-12-23 08:54:27] [EMAIL PROTECTED]

In recent ucd-snmp versions, the function 

snmp_synch_setup(session *) is just a dummy:

/* synch_reset and synch_setup are no longer used. */
void snmp_synch_reset (struct snmp_session * notused) {}
void snmp_synch_setup (struct snmp_session * notused) {}

(ucd-snmp 4.2.1 as supplied by RedHat for RHL 6.2)

If you enable ucd-snmp-hack with this snmp-version, you 
get a resource leak, because you strdup() the session
community and the value is _not_ freed as stated in the
ext/snmp/snmp.c module.

The whole code seems pretty bogus to me, I'll try to get
a fix later. 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=14672&edit=1

Reply via email to