Cliff Jansen created QPID-4792:
----------------------------------

             Summary: Windows UUID processing mingles GUID values
                 Key: QPID-4792
                 URL: https://issues.apache.org/jira/browse/QPID-4792
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker, C++ Client
    Affects Versions: 0.20
         Environment: Windows
            Reporter: Cliff Jansen
            Assignee: Cliff Jansen
             Fix For: 0.23


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to