[
https://issues.apache.org/jira/browse/PROTON-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Ross closed PROTON-643.
------------------------------
Resolution: Duplicate
> 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
> Labels: close-pending
>
> {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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]