You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Chen Zhiming (JIRA)" <ji...@apache.org> on 2016/07/21 03:15:20 UTC
[jira] [Created] (THRIFT-3885) PHP: Error when readI64 in
TCompactProtocol
Chen Zhiming created THRIFT-3885:
------------------------------------
Summary: PHP: Error when readI64 in TCompactProtocol
Key: THRIFT-3885
URL: https://issues.apache.org/jira/browse/THRIFT-3885
Project: Thrift
Issue Type: Bug
Components: PHP - Library
Affects Versions: 0.9.3, 0.9.2, 0.9.1, 0.9, 0.8, 0.7
Environment: all
Reporter: Chen Zhiming
In line 618 of readI64 of TCompactProtocol, the number of shift bit is error. It must be
$hi |= (($byte & 0x7f) >> (7 - ($shift - 25)));
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)