You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2017/01/20 15:08:26 UTC
[jira] [Closed] (FLINK-5561) DataInputDeserializer#available
returns one too few
[ https://issues.apache.org/jira/browse/FLINK-5561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ufuk Celebi closed FLINK-5561.
------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
1.2.0
Fixed in 108865d (release-1.2), 6c4644d (master).
> DataInputDeserializer#available returns one too few
> ---------------------------------------------------
>
> Key: FLINK-5561
> URL: https://issues.apache.org/jira/browse/FLINK-5561
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: Nico Kruber
> Assignee: Nico Kruber
> Fix For: 1.2.0, 1.3.0
>
>
> DataInputDeserializer#available seems to assume that the position points to the last read byte but instead it points to the next byte. Therefore, it returns a value which is 1 smaller than the correct one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)