[ https://issues.apache.org/jira/browse/FLINK-8075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-8075. ----------------------------------- Resolution: Not A Problem This code is copied straight from hadoop for shading reasons. Any issues found should be reporter to the hadoop project. > Lack of synchronization calling clone() in Configuration ctor > ------------------------------------------------------------- > > Key: FLINK-8075 > URL: https://issues.apache.org/jira/browse/FLINK-8075 > Project: Flink > Issue Type: Bug > Reporter: Ted Yu > Priority: Minor > > In > flink-filesystems/flink-s3-fs-presto/src/main/java/org/apache/hadoop/conf/Configuration.java > , at line 703: > {code} > public Configuration(Configuration other) { > this.resources = (ArrayList<Resource>) other.resources.clone(); > synchronized(other) { > if (other.properties != null) { > this.properties = (Properties)other.properties.clone(); > } > {code} > The first clone() call is without synchronization and without null check. -- This message was sent by Atlassian JIRA (v6.4.14#64029)