Bug #14672 Updated: confusion about --enable-ucd-snmp-hack

From: Date: Fri, 05 Jul 2002 05:00:06 +0000
Subject: Bug #14672 Updated: confusion about --enable-ucd-snmp-hack
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-13170@lists.php.net to get a copy of this message
ID: 14672 Updated by: php-bugs@lists.php.net Reported By: hps@intermeta.de -Status: Feedback +Status: No Feedback Bug Type: SNMP related Operating System: RedHat Linux 6.2 PHP Version: 4.1.0 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-06-04 04:31:45] mfischer@php.net Any update on a fix? ------------------------------------------------------------------------ [2002-04-22 23:30:10] sniper@php.net reclassified ------------------------------------------------------------------------ [2001-12-23 08:54:27] hps@intermeta.de 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

« previous php.bugs (#13170) next »