Qpid
  1. Qpid
  2. QPID-4416

perl binding for getContentPtr fails on payloads containing NULL

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.18
    • Fix Version/s: 0.21
    • Component/s: None
    • Labels:
      None

      Description

      getContentPtr uses SWIG_FromCharPtr, however this uses strlen internally, so assumes the payload doesn't contain NULL - SWIG_FromCharPtrAndSize should be used instead.

        Activity

        Jimmy Jones created issue -
        Jimmy Jones made changes -
        Field Original Value New Value
        Attachment getcontentptr.diff [ 12553865 ]
        Darryl L. Pierce made changes -
        Assignee Darryl L. Pierce [ mcpierce ]
        Darryl L. Pierce made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.21 [ 12323549 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Darryl L. Pierce
            Reporter:
            Jimmy Jones
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development