You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2018/03/22 00:19:00 UTC

[jira] [Created] (PROTON-1804) Memory leak reusing a pn_transport_t for multiple connections

Andrew Stitcher created PROTON-1804:
---------------------------------------

             Summary: Memory leak reusing a pn_transport_t for multiple connections
                 Key: PROTON-1804
                 URL: https://issues.apache.org/jira/browse/PROTON-1804
             Project: Qpid Proton
          Issue Type: Bug
            Reporter: Andrew Stitcher
            Assignee: Andrew Stitcher


Detected by merging connection-driver fuzz tester. Leads to:
{noformat}
==24281== 94 bytes in 12 blocks are definitely lost in loss record 1 of 2
==24281== at 0x4C2CB6B: malloc (vg_replace_malloc.c:299)
==24281== by 0x4E4AD33: pn_strndup (util.c:152)
==24281== by 0x4E5913E: pn_bytes_strdup (transport.c:1160)
==24281== by 0x4E5913E: pn_do_open (transport.c:1200)
==24281== by 0x4E51267: pni_dispatch_action (dispatcher.c:74)
==24281== by 0x4E51267: pni_dispatch_frame (dispatcher.c:116)
==24281== by 0x4E51267: pn_dispatcher_input (dispatcher.c:135)
==24281== by 0x4E579AB: pn_input_read_amqp (transport.c:2567)
==24281== by 0x4E57A57: transport_consume (transport.c:1823)
==24281== by 0x4E5B175: pn_transport_process (transport.c:2952)
==24281== by 0x401E21: fcd_read (fuzz-connection-driver.c:212)
==24281== by 0x401F2B: LLVMFuzzerTestOneInput (fuzz-connection-driver.c:94)
==24281== by 0x401A65: main (StandaloneFuzzTargetMain.c:37)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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