[
https://issues.apache.org/jira/browse/THRIFT-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Sukegawa resolved THRIFT-3827.
----------------------------------
Resolution: Fixed
Assignee: lnn1123
Fix Version/s: 0.10.0
committed, thanks !
> 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
> Assignee: lnn1123
> Fix For: 0.10.0
>
>
> 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)