[
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)