You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <qp...@incubator.apache.org> on 2010/06/04 03:05:57 UTC

[jira] Created: (QPID-2645) Qpid bugs found by static code analysis

Qpid bugs found by static code analysis
---------------------------------------

                 Key: QPID-2645
                 URL: https://issues.apache.org/jira/browse/QPID-2645
             Project: Qpid
          Issue Type: Bug
            Reporter: Chuck Rolke


Various bugs found by static code analysis tool appear to be legitimate bugs that are easy to fix.

-- 
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


[jira] Updated: (QPID-2645) Qpid bugs found by static code analysis

Posted by "Chuck Rolke (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuck Rolke updated QPID-2645:
------------------------------

    Attachment: RetractClient.patch

qpid/cpp/src/qpid/cluster/RetractClient.cpp

A destructor that consists solely of "delete this" is unnecessary.

> Qpid bugs found by static code analysis
> ---------------------------------------
>
>                 Key: QPID-2645
>                 URL: https://issues.apache.org/jira/browse/QPID-2645
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Chuck Rolke
>         Attachments: RdmaServer.cpp.patch, RetractClient.patch
>
>
> Various bugs found by static code analysis tool appear to be legitimate bugs that are easy to fix.

-- 
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


[jira] Updated: (QPID-2645) Qpid bugs found by static code analysis

Posted by "Chuck Rolke (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuck Rolke updated QPID-2645:
------------------------------

    Attachment: RdmaServer.cpp.patch

This patch addresses two issues:

1. cr is used before it is tested for NULL
11663 REVERSE_INULL

2. cr is used after it is deleted.

11670 USE_AFTER_FREE


> Qpid bugs found by static code analysis
> ---------------------------------------
>
>                 Key: QPID-2645
>                 URL: https://issues.apache.org/jira/browse/QPID-2645
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Chuck Rolke
>         Attachments: RdmaServer.cpp.patch
>
>
> Various bugs found by static code analysis tool appear to be legitimate bugs that are easy to fix.

-- 
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