Bug #14462 Updated: Red Hat-modified ucd-snmp packages cause php segmentation faults

From: Date: Tue, 18 Jun 2002 10:13:03 +0000
Subject: Bug #14462 Updated: Red Hat-modified ucd-snmp packages cause php segmentation faults
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11098@lists.php.net to get a copy of this message
ID: 14462 Updated by: derick@php.net Reported By: gerald@ethereal.com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Red Hat Linux 6.2 through 7.2 PHP Version: 4.1.0 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2001-12-12 13:01:17] gerald@ethereal.com As described in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=57421 recent versions (after ~August 2001) of the ucd-snmp packages redefine sprint_objid and sprint_value at the API and ABI level. PHP's SNMP module calls both of these functions. After building PHP 4.1.0 with SNMP support on a stock Red Hat 7.2 system, the following script dumps core: <? $sd = snmpwalk("<device address>", "public", ".iso"); echo $sd; ?> This affects all systems running Red Hat Linux 6.2 through 7.1 with updated ucd-snmp packages applied, along with stock 7.2 systems. Someone on the ethereal-dev mailing list reported that SuSE is affected as well. SNMP support must be compiled into PHP for it to be affected, of course. Related postings on the ethereal-dev list can be found at http://www.ethereal.com/lists/ethereal-dev/200112/msg00148.html http://www.ethereal.com/lists/ethereal-dev/200112/msg00150.html http://www.ethereal.com/lists/ethereal-dev/200112/msg00153.html ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14462&edit=1

« previous php.bugs (#11098) next »