summaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins
diff options
context:
space:
mode:
authorpdragosh <pd1248@att.com>2022-08-03 10:11:50 -0500
committerpdragosh <pd1248@att.com>2022-08-03 10:11:56 -0500
commit2f9f1d0e0f74aac15ecc65fbc63d845ffff655cd (patch)
treebd89f3e073431eaa6a1ff635f57e676abde057d4 /plugins/reception-plugins
parent71c8ce2c4d72c730a83faecebd0fafc740056756 (diff)
Upgrade to oparent 3.2.1
Issue-ID: POLICY-4211 Change-Id: I195d39d02a5c990bbdbaaa0e465573486d64daf9 Signed-off-by: pdragosh <pd1248@att.com>
Diffstat (limited to 'plugins/reception-plugins')
-rw-r--r--plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
index e6bca426..31588361 100644
--- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
+++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* Copyright (C) 2018 Ericsson. All rights reserved.
* Copyright (C) 2019 Nordix Foundation.
- * Modifications Copyright (C) 2020-2021 AT&T Inc.
+ * Modifications Copyright (C) 2020-2022 AT&T Inc.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -104,8 +104,9 @@ public class PolicyDecoderFileInCsarToPolicy implements PolicyDecoder<Csar, Tosc
* ensures validation of entries in the Zipfile. Attempts to solve path
* injection java security issues.
*
- * @param entry the ZipEntry to check
+ * @param entryName the ZipEntry to check
* @param csarPath Absolute path to the csar the ZipEntry is in
+ * @param entrySize the entry size
* @return true if no injection detected, and it is a policy type or policy file.
* @throws PolicyDecodingException if the file size is too large
*/