Chuck Rolke created PROTON-643:
----------------------------------

             Summary: Malloc result used without testing for null
                 Key: PROTON-643
                 URL: https://issues.apache.org/jira/browse/PROTON-643
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.7
            Reporter: Chuck Rolke


{noformat}
  pn_buffer_t *buf = (pn_buffer_t *) malloc(sizeof(pn_buffer_t));
  buf->capacity = capacity;
{noformat}
Many calls to malloc are properly checked but not all.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to