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

Ken Giusti resolved DISPATCH-1461.
----------------------------------
    Resolution: Fixed

> Crashed router due to terminus address overflow
> -----------------------------------------------
>
>                 Key: DISPATCH-1461
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1461
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.9.0
>            Reporter: Ken Giusti
>            Priority: Blocker
>             Fix For: 1.10.0
>
>
> in router_core/connections.c::qdr_link_inbound_first_attach_CT:
>  
> {quote}{{char source_str[1000];}}
> {{ char target_str[1000];}}
> {{ size_t source_len = 1000;}}
> {{ size_t target_len = 1000;}}{{source_str[0] = '\0';}}
> {{ target_str[0] = '\0';}}{{//}}
> {{ // Grab the formatted terminus strings before we schedule any IO-thread 
> processing that}}
> {{ // might get ahead of us and free the terminus objects before we issue the 
> log.}}
> {{ //}}
> {{ if (qd_log_enabled(core->log, QD_LOG_INFO)) {}}
> {{     qdr_terminus_format(source, source_str, &source_len);}}
> {{     qdr_terminus_format(target, target_str, &target_len);}}
> {{ }}}{quote}
> {{If the source or target terminus is too long (>1000) the output string 
> overflows.}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to