You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ted Ross (JIRA)" <ji...@apache.org> on 2014/09/10 19:59:35 UTC
[jira] [Updated] (PROTON-643) Malloc result used without testing
for null
[ https://issues.apache.org/jira/browse/PROTON-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Ross updated PROTON-643:
----------------------------
Fix Version/s: 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
> Fix For: 0.8
>
>
> {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)