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

Add assignment operator methods for objects with "impl" pointers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.7
    • Future
    • QMF
    • None

    Description

      class ObjectId has an private impl pointer. When used as an argument to an assignment, the impl pointer is incorrectly set by the default memberwise assignment method. This causes two ObjectIds to incorrectly share the same impl instance. This may be the case for other objects that use this impl pattern - the code should be audited.

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: