You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2020/03/05 14:02:00 UTC

[jira] [Resolved] (PROTON-2184) pn_session_set_context() aborts if zero is passed as the context

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

Ken Giusti resolved PROTON-2184.
--------------------------------
    Resolution: Fixed

> pn_session_set_context() aborts if zero is passed as the context
> ----------------------------------------------------------------
>
>                 Key: PROTON-2184
>                 URL: https://issues.apache.org/jira/browse/PROTON-2184
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.30.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: proton-c-0.31.0
>
>         Attachments: 0001-PROTON-2184-fix-assert-in-pn_session_set_context.patch
>
>
> This prevents the application from clearing the session context.
> Looks like the assert is wrong:
>  
> void pn_session_set_context(pn_session_t *session, void *context)
> {
>  assert(context);
> ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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