Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8
-
None
-
Patch Available
Description
In TCompactProtocol::readFieldBegin, $field_type should be compared to COMPACT_TRUE or COMPACT_FALSE before being converted to a TType. Otherwise, $field_type will be converted to TType::BOOL (0x02) and will always match COMPACT_FALSE (0x02).
Attachments
Attachments
Issue Links
- duplicates
-
THRIFT-3348 PHP TCompactProtocol bool&int64 readvalue bug
- Closed
- is duplicated by
-
THRIFT-5538 TCompactProtocol always decode bool fields as false
- Resolved