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

From: Date: Wed, 12 Dec 2001 18:01:17 +0000
Subject: Bug #14462: Red Hat-modified ucd-snmp packages cause php segmentation faults
Groups: php.dev 
Request: Send a blank email to php-dev+get-73354@lists.php.net to get a copy of this message
From: gerald@ethereal.com Operating system: Red Hat Linux 6.2 through 7.2 PHP version: 4.1.0 PHP Bug Type: Reproducible crash Bug description: Red Hat-modified ucd-snmp packages cause php segmentation faults 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 bug report at: http://bugs.php.net/?id=14462&edit=1

« previous php.dev (#73354) next »