Skip to content

Commit b73cfcd

Browse files
BilwaSTabstractdog
authored andcommitted
TEZ-4469: Upgrade jettison to 1.5.3 to fix CVE-2022-45685, CVE-2022-45693 (#271) (Bilwa S T reviewed by Laszlo Bodor)
1 parent 88374f9 commit b73cfcd

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@
739739
<dependency>
740740
<groupId>org.codehaus.jettison</groupId>
741741
<artifactId>jettison</artifactId>
742-
<version>1.5.1</version>
742+
<version>1.5.3</version>
743743
</dependency>
744744
<dependency>
745745
<groupId>com.google.code.findbugs</groupId>

tez-dag/src/main/java/org/apache/tez/dag/history/utils/DAGUtils.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ public static JSONObject generateSimpleJSONPlan(DAGPlan dagPlan) throws JSONExce
111111
return dagJson;
112112
}
113113

114-
public static JSONObject convertDataEventDependencyInfoToJSON(List<DataEventDependencyInfo> info) {
114+
public static JSONObject convertDataEventDependencyInfoToJSON(List<DataEventDependencyInfo> info)
115+
throws JSONException {
115116
return new JSONObject(convertDataEventDependecyInfoToATS(info));
116117
}
117118

@@ -436,7 +437,7 @@ public static Map<String,Object> convertVertexStatsToATSMap(
436437
}
437438

438439
public static JSONObject convertServicePluginToJSON(
439-
ServicePluginInfo servicePluginInfo) {
440+
ServicePluginInfo servicePluginInfo) throws JSONException {
440441
JSONObject jsonObject = new JSONObject(convertServicePluginToATSMap(servicePluginInfo));
441442
return jsonObject;
442443
}

0 commit comments

Comments
 (0)