Edit report at https://bugs.php.net/bug.php?id=64159&edit=1

 ID:                 64159
 Updated by:         johan...@php.net
 Reported by:        loic dot blot at unix-experience dot fr
 Summary:            Truncated snmpget
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            SNMP related
 Operating System:   FreeBSD 9.1
 PHP Version:        5.4.11
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------
[2013-02-05 16:18:46] loic dot blot at unix-experience dot fr

Description:
------------
Hello,
Since php 5.4.11 i get a problem on snmpget function. I haven't the problem 
with system snmpget command.

large responses for snmpget are truncated.

I think there is a buffer problem.

Expected result:
----------------
but instead i get:
7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

Actual result:
--------------
For example, snmpget (on CISCO switches), really returns:
7F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64159&edit=1

Reply via email to