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

lnn1123 updated THRIFT-3827:
----------------------------
    Description: 
when Varint(int64_val) more than five bytes parseing error, 
parse the five byte  should be $hi |= (($byte & 0x7f) >> ($shift - 24));
becouse the five byte high bits should be high four bits

> php CompactProtocol readI64 function has bug, when value has 32bit ~64bit, 
> Example:value=1461563457000 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-3827
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3827
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>    Affects Versions: 0.9.3
>         Environment: PHP 5.6.15 64bits
>            Reporter: lnn1123
>
> when Varint(int64_val) more than five bytes parseing error, 
> parse the five byte  should be $hi |= (($byte & 0x7f) >> ($shift - 24));
> becouse the five byte high bits should be high four bits



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to