[
https://issues.apache.org/jira/browse/PROTON-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rafael H. Schloming resolved PROTON-309.
----------------------------------------
Resolution: Duplicate
Assignee: Rafael H. Schloming
> Messenger crashes if given a message that lacks a "to" address
> --------------------------------------------------------------
>
> Key: PROTON-309
> URL: https://issues.apache.org/jira/browse/PROTON-309
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.4
> Reporter: Ken Giusti
> Assignee: Rafael H. Schloming
> Priority: Minor
> Fix For: 0.5
>
>
> Accidentally did not set "to" address before putting my message.
> Got this crash - notice target=0x0 to pn_messenger_target():
> #0 __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
> #1 0x00007f835cb4f74c in pn_messenger_resolve (messenger=0x1806e90,
> address=0x0, name=0x7fff83e746c0)
> at
> /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:902
> #2 0x00007f835cb4fdf8 in pn_messenger_link (messenger=0x1806e90,
> address=0x0, sender=true) at
> /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:1012
> #3 0x00007f835cb4ffd6 in pn_messenger_target (messenger=0x1806e90,
> target=0x0) at
> /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:1048
> #4 0x00007f835cb507c5 in pn_messenger_put (messenger=0x1806e90,
> msg=0x1803f60) at
> /home/kgiusti/work/proton/qpid-proton/proton-c/src/messenger/messenger.c:1203
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira