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

Windows UUID processing mingles GUID values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Hide
        justi9 Justin Ross added a comment -
        Show
        justi9 Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html
        Show
        cliffjansen Cliff Jansen added a comment - Fixed: http://svn.apache.org/r1478471 from https://reviews.apache.org/r/10863/

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development