|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-01 03:17 UTC] larryjadams at comcast dot net
[2005-02-28 20:54 UTC] sniper@php.net
[2005-03-01 00:52 UTC] LarryJAdams at comcast dot net
[2005-03-01 01:24 UTC] LarryJAdams at comcast dot net
[2005-03-06 17:40 UTC] sniper@php.net
[2005-03-06 20:39 UTC] LarryJAdams at comcast dot net
[2005-03-16 13:47 UTC] harrie@php.net
[2005-03-16 13:52 UTC] harrie@php.net
[2005-03-16 14:02 UTC] harrie@php.net
[2011-04-08 21:49 UTC] jani@php.net
-Package: Feature/Change Request
+Package: SNMP related
[2011-08-21 07:03 UTC] lytboris@php.net
-Status: Open
+Status: Feedback
[2011-08-21 07:03 UTC] lytboris@php.net
[2011-08-21 07:04 UTC] lytboris@php.net
-Assigned To:
+Assigned To: lytboris
[2011-08-21 07:04 UTC] lytboris@php.net
-Status: Feedback
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ The following code in snmp.c from lines: 794 through 831 is not valid. If both HAVE_AES and SNMP_VALIDATE_ERR are defined, the ifdef's will not function properly. Please review the code below. Reproduce code: --------------- Incorrect code (starting on 810): "* symbol on purpose, as it's defined to be the same as the former. */ || !strcasecmp(prot, "AES")) { #else ) { s->securityPrivProto = usmAES128PrivProtocol; s->securityPrivProtoLen = OIDSIZE(usmAES128PrivProtocol); return (0);" Correct Code (starting on 810): "* symbol on purpose, as it's defined to be the same as the former. */ || !strcasecmp(prot, "AES")) { s->securityPrivProto = usmAES128PrivProtocol; s->securityPrivProtoLen = OIDSIZE(usmAES128PrivProtocol); return (0); #else ) { s->securityPrivProto = usmAES128PrivProtocol; s->securityPrivProtoLen = OIDSIZE(usmAES128PrivProtocol); return (0);" Expected result: ---------------- N/A. Please review code snippet. Actual result: -------------- N/A. Please review code snippet.