You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Felipe Barriga Richards (JIRA)" <ji...@apache.org> on 2018/05/10 05:55:00 UTC

[jira] [Updated] (THRIFT-4568) LUA: Missing double endianness conversion

     [ https://issues.apache.org/jira/browse/THRIFT-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felipe Barriga Richards updated THRIFT-4568:
--------------------------------------------
    Attachment: 0001-THRIFT-4568-LUA-Missing-double-endianness-conversion.patch

> LUA: Missing double endianness conversion
> -----------------------------------------
>
>                 Key: THRIFT-4568
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4568
>             Project: Thrift
>          Issue Type: Bug
>          Components: Lua - Library
>            Reporter: Felipe Barriga Richards
>            Priority: Major
>              Labels: LUA
>         Attachments: 0001-THRIFT-4568-LUA-Missing-double-endianness-conversion.patch
>
>
> {{On Lua, TBinaryProtocol}} and {{TCompactProtocol are using }}{{libluabpack.bunpack}} to pack/unpack double primitives.
> The current implementation on {{luabpack.c}} is not handling the endianness of the doubles so when it interacts with implementations written on other languages it fails to convert the values.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)