Bug #14462 Updated: Red Hat-modified ucd-snmp packages cause php segmentation faults
| From: | eru@php.net | Date: | Thu, 04 Jul 2002 22:11:36 +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-13157@lists.php.net to get a copy of this message | ||
ID: 14462
Updated by: eru@php.net
Reported By: gerald@ethereal.com
-Status: Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: Red Hat Linux 6.2 through 7.2
PHP Version: 4.1.0
New Comment:
Tested on a 7.3 RH (ucd-snmp-4.2.5-7.73.0) with 4.3.0-dev with Apache
1.3.26. Works like a charm with SAPI and CLI, no coredumps occured.
Closing.
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 06:13:03] derick@php.net
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.
------------------------------------------------------------------------
[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