Qpid Proton
  1. Qpid Proton
  2. PROTON-402

[proton-c] Example proton.c with no args causes segmentation fault

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      In one process run 'proton'
      In another process run 'proton -c 127.0.0.1'

      The second process seg faults after receiving 44 bytes into a 32-byte buffer.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1512495 from chug@apache.org in branch 'proton/trunk'
        [ https://svn.apache.org/r1512495 ]

        PROTON-402: [proton-c] Example proton.c with no args causes seg fault
        allocate a bigger buffer to hold received message.

        Show
        ASF subversion and git services added a comment - Commit 1512495 from chug@apache.org in branch 'proton/trunk' [ https://svn.apache.org/r1512495 ] PROTON-402 : [proton-c] Example proton.c with no args causes seg fault allocate a bigger buffer to hold received message.
        Hide
        Chuck Rolke added a comment -

        Fixed with r1512495

        Show
        Chuck Rolke added a comment - Fixed with r1512495

          People

          • Assignee:
            Unassigned
            Reporter:
            Chuck Rolke
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development