Bug 1027327 - AbstractTransport::readString uses wrong format
Summary: AbstractTransport::readString uses wrong format
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: CPP Client
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Tristan Tarrant
QA Contact: Alan Field
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-06 15:02 UTC by Radim Vansa
Modified: 2013-11-06 15:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-06 15:13:28 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker HRCPP-69 0 Critical Closed AbstractTransport::readString uses wrong format 2014-04-02 13:06:39 UTC

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.


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