[ 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-subscr...@qpid.apache.org