php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1410 snmpget causes Segmentation fault
Submitted: 1999-05-14 01:59 UTC Modified: 1999-05-14 04:31 UTC
From: mhjack at tscnet dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.7 OS: Linux 2.0.36
Private report: No CVE-ID: None
 [1999-05-14 01:59 UTC] mhjack at tscnet dot com
Script:

<script language="php">
$contact = snmpget("127.0.0.1", "public", "system.SysContact.0");
echo "contact = $napnet\n";                                                  
</script>                      

php-3.0.7:
--with-pgsql --with-apache=../apache_1.3.6 --enable-track-vars --with-gd --with-snmp --enable-track-vars

Apache 1.3.6 error_log:[Wed May 12 23:51:29 1999] [notice] child pid 11268 exit signal Segmentation fault (11)




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-14 04:31 UTC] sas at cvs dot php dot net
This is a known bug in at least UCD SNMP 3.5.x and 3.6.1. Apply http://cvs.php.net/cvsweb.cgi/functions/snmp.c.diff?r1=text&tr1=1.8&r2=text&tr2=1.11&f=u to your source tree for a workaround.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 03:01:35 2024 UTC