Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
0.9.3
-
None
-
Patch Available
-
Patch, Important
Description
Node.js implementation of TCompactProtocol instead of returning raw Buffer, converts it to string, which leads to data corruption.
At the line:
https://github.com/apache/thrift/blob/0.9.3/lib/nodejs/lib/thrift/compact_protocol.js#L764
you can see that it uses "readString" method of the transport instead of using "read".
Attachments
Attachments
Issue Links
- duplicates
-
THRIFT-3409 NodeJS binary field issues
-
- Closed
-
- relates to
-
THRIFT-3409 NodeJS binary field issues
-
- Closed
-