qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenta lee (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Updated: (QPID-1787) Wrong parameter order of memset In cluster/Cpg.cpp
Date Sat, 04 Apr 2009 14:39:13 GMT

     [ https://issues.apache.org/jira/browse/QPID-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

chenta lee updated QPID-1787:
-----------------------------

    Attachment: Cpg.cpp.patch

Here is the patch to fix this bug

> Wrong parameter order of memset In cluster/Cpg.cpp
> --------------------------------------------------
>
>                 Key: QPID-1787
>                 URL: https://issues.apache.org/jira/browse/QPID-1787
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>         Environment: Linux
>            Reporter: chenta lee
>         Attachments: Cpg.cpp.patch
>
>
> I found out that the parameter order is wrong when using "memset" in Cpg.cpp at line
72
> the original code is ::memset(&callbacks, sizeof(callbacks), 0) and it should be
::memset(&callbacks, 0, sizeof(callbacks));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message