Sertonix created GUACAMOLE-2153:
-----------------------------------

             Summary: GUAC_*_UTF16 have different results on big-endian system
                 Key: GUACAMOLE-2153
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2153
             Project: Guacamole
          Issue Type: Bug
            Reporter: Sertonix


The `GUAC_*_UTF16` functions read the code points casting to a uint16_t pointer 
without using le16toh and the like which causes the results to vary between 
little- and big-endian machines.

[https://github.com/apache/guacamole-server/pull/618] contains more details 
about endianess with UTF-16.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to