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

Rafael H. Schloming updated PROTON-643:
---------------------------------------
    Fix Version/s:     (was: 0.8)

> 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.3.4#6332)

Reply via email to