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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mhjack at tscnet dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 03:00:01 2026 UTC