Bug 1027327 - AbstractTransport::readString uses wrong format
AbstractTransport::readString uses wrong format
Status: CLOSED NOTABUG
Product: JBoss Data Grid 6
Classification: JBoss
Component: CPP Client (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Tristan Tarrant
Alan Field
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-06 10:02 EST by Radim Vansa
Modified: 2013-11-06 10:13 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-06 10:13:28 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker HRCPP-69 Critical Closed AbstractTransport::readString uses wrong format 2014-04-02 09:06:39 EDT

  None (edit)
Description Radim Vansa 2013-11-06 10:02:15 EST
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 10:12:57 EST
Radim Vansa <rvansa@redhat.com> updated the status of jira HRCPP-69 to Closed
Comment 3 JBoss JIRA Server 2013-11-06 10:12:57 EST
Radim Vansa <rvansa@redhat.com> made a comment on jira HRCPP-69

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

Note You need to log in before you can comment on or make changes to this bug.