Qpid
  1. Qpid
  2. QPID-4792

Windows UUID processing mingles GUID values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20
    • Fix Version/s: 0.23
    • Component/s: C++ Broker, C++ Client
    • Labels:
      None
    • Environment:

      Windows

      Description

      RFC 4122 defines a UUID. A GUID is the same as a UUID in string form, but differs in binary layout. Microsoft operates with GUIDs but confusingly labels them as UUIDs in their documentation and include files.

      i.e. rpcdce.h: typedef GUID UUID;

      The binary form matters since it is used over the wire. Mapping a GUID to a UUID (or vice versa) without the layout conversion results in structures with mangled RFC version info and different string representations on Windows and non-Windows systems.

      Proton currently only calls Microsoft APIs to obtain the string representation of the UUID (which will match the GUID), so it is unaffected.

        Activity

        Cliff Jansen created issue -
        Cliff Jansen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Cliff Jansen
            Reporter:
            Cliff Jansen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development