Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4416

perl binding for getContentPtr fails on payloads containing NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.18
    • 0.21
    • Perl Client
    • 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.

      Attachments

        1. getcontentptr.diff
          0.9 kB
          Jimmy Jones

        Activity

          People

            mcpierce Darryl Pierce
            jimmyjones2 Jimmy Jones
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: