From dfd801938390e07db205f898bc2b433f099f7e1d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 09:53:40 +0000 Subject: [PATCH 1/2] Update dependency org.apache.pdfbox:pdfbox to v3.0.3 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2f70bb75e..a98d52169 100644 --- a/build.gradle +++ b/build.gradle @@ -178,7 +178,7 @@ dependencies { implementation group: "org.apache.commons", name: "commons-lang3", version: "3.16.0" implementation group: "commons-validator", name: "commons-validator", version: "1.9.0" - implementation group: 'org.apache.pdfbox', name: 'pdfbox', version: "3.0.2" + implementation group: 'org.apache.pdfbox', name: 'pdfbox', version: "3.0.3" implementation group: "net.javacrumbs.shedlock", name: "shedlock-spring", version: versions.shedlock implementation group: "net.javacrumbs.shedlock", name: "shedlock-provider-jdbc-template", version: versions.shedlock implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '5.3.0', withoutCVE202011987 From f616237d80cef0ff6d11bc501cb4729df0dbe963 Mon Sep 17 00:00:00 2001 From: mustafa Date: Mon, 2 Sep 2024 20:13:12 +0100 Subject: [PATCH 2/2] Update PDFOutline.java --- .../java/uk/gov/hmcts/reform/em/stitching/pdf/PDFOutline.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/uk/gov/hmcts/reform/em/stitching/pdf/PDFOutline.java b/src/main/java/uk/gov/hmcts/reform/em/stitching/pdf/PDFOutline.java index 686566241..724e64752 100644 --- a/src/main/java/uk/gov/hmcts/reform/em/stitching/pdf/PDFOutline.java +++ b/src/main/java/uk/gov/hmcts/reform/em/stitching/pdf/PDFOutline.java @@ -139,6 +139,7 @@ public void copyOutline( PDDocumentCatalog documentCatalog, String key, int currentPageNumber) throws IOException { + cosObjectKeys.clear(); PDOutlineItem destLastOutlineItem; var node = outlineTree.findTreeNode(createBundleItemComparable(key), outlineTree);