[
https://issues.apache.org/jira/browse/THRIFT-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429304#comment-15429304
]
ASF GitHub Bot commented on THRIFT-3827:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/thrift/pull/1008
> 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)