From 4fa7db48f0a25af63b93bd9e372eed5db3098abc Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Thu, 22 Feb 2024 16:26:04 +0100 Subject: [PATCH] Fix type comparison security issue (#5938) --- .../org/kitodo/production/helper/SearchResultGeneration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kitodo/src/main/java/org/kitodo/production/helper/SearchResultGeneration.java b/Kitodo/src/main/java/org/kitodo/production/helper/SearchResultGeneration.java index 92b29b629e3..34a9acd64ef 100644 --- a/Kitodo/src/main/java/org/kitodo/production/helper/SearchResultGeneration.java +++ b/Kitodo/src/main/java/org/kitodo/production/helper/SearchResultGeneration.java @@ -115,7 +115,7 @@ private HSSFWorkbook getWorkbook() { private void insertRowData(HSSFSheet sheet) { int rowCounter = 2; - int numberOfProcessedProcesses = 0; + long numberOfProcessedProcesses = 0; int elasticsearchLimit = 9999; try { Long numberOfExpectedProcesses = ServiceManager.getProcessService()