From: [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]