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 2019/10/25 15:44:00 UTC

[jira] [Created] (DISPATCH-1461) Crashed router due to terminus address overflow

Ken Giusti created DISPATCH-1461:
------------------------------------

             Summary: 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
             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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org