[
https://issues.apache.org/jira/browse/PROTON-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049260#comment-17049260
]
ASF subversion and git services commented on PROTON-2184:
---------------------------------------------------------
Commit db40d33305fa0989254c99b191afce5fd2113217 in qpid-proton's branch
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=db40d33 ]
PROTON-2184: fix assert in pn_session_set_context
> 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: [email protected]
For additional commands, e-mail: [email protected]