Bug 1027327

Summary: AbstractTransport::readString uses wrong format
Product: [JBoss] JBoss Data Grid 6 Reporter: Radim Vansa <rvansa>
Component: CPP ClientAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED NOTABUG QA Contact: Alan Field <afield>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: dmehra, mgencur, mmarkus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 15:13:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radim Vansa 2013-11-06 15:02:15 UTC
AbstractTransport::readString uses readArray, which then calls readVInt and reads some number of bytes.
However, the server writes fixed-size unsigned int in the response => the client reads some rubbish.

Note that Java version of HotRod client does not have implemented the readVInt method - it just reads unsigned int under the hood => it works against the server.

Comment 2 JBoss JIRA Server 2013-11-06 15:12:57 UTC
Radim Vansa <rvansa> updated the status of jira HRCPP-69 to Closed

Comment 3 JBoss JIRA Server 2013-11-06 15:12:57 UTC
Radim Vansa <rvansa> made a comment on jira HRCPP-69

Oops, my fault... I haven't studied the code properly.