You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/11/04 14:16:58 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 ]

Justin Ross updated PROTON-643:
-------------------------------
    Labels: close-pending  (was: )

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org