CqlByteBuffer fails to decode short bytes over 32768 in size

Description

CqlByteBuffer implicitly converts unsigned shorts and signed ints to null when the value equals to or is greater than 0x8000 and 0x80000000 accordingly. This is incorrect.

Value of 0x80000000 for the size of most types is used to signify null values.

Environment

None

Pull Requests

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Reproduced in

Fix versions

Priority

Created September 17, 2015 at 7:01 PM
Updated September 18, 2015 at 5:23 PM
Resolved September 18, 2015 at 5:23 PM