You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2016/02/17 14:43:18 UTC
[jira] [Assigned] (FLINK-3433) Return value from
ObjectInputStream#read() should be checked in AvroOutputFormat#readObject
[ https://issues.apache.org/jira/browse/FLINK-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler reassigned FLINK-3433:
---------------------------------------
Assignee: Chesnay Schepler
> Return value from ObjectInputStream#read() should be checked in AvroOutputFormat#readObject
> -------------------------------------------------------------------------------------------
>
> Key: FLINK-3433
> URL: https://issues.apache.org/jira/browse/FLINK-3433
> Project: Flink
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Chesnay Schepler
> Priority: Minor
>
> Here is related code:
> {code}
> if(length != 0) {
> byte[] json = new byte[length];
> in.read(json);
> Schema schema = new Schema.Parser().parse(new String(json));
> {code}
> The return value from in.read() should be verified against length.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)