Ted Yu created FLINK-3433: ----------------------------- Summary: 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 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)