diff options
author | guangxingwang <gw1218@att.com> | 2018-02-21 14:09:04 -0600 |
---|---|---|
committer | guangxingwang <gw1218@att.com> | 2018-02-22 11:31:56 -0600 |
commit | be10935d9bd9f08f17a9d23c46865f54b914cf21 (patch) | |
tree | 46d5306f556002f696747264943342562238221f /ONAP-XACML/src/main | |
parent | f037497b757391f4932e2e9495dd5112918ad4cf (diff) |
Fix Fortify Path Manipulation Issue
Fix Fortify path manipulation issue by adding a validation on dictionary
name.
Issue-ID: POLICY-541
Change-Id: I87492b0d80bf96bebfc029d7d164cdd20ca5ef0f
Signed-off-by: guangxingwang <gw1218@att.com>
Diffstat (limited to 'ONAP-XACML/src/main')
-rw-r--r-- | ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java b/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java index 273383ae6..ca2271ab4 100644 --- a/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java +++ b/ONAP-XACML/src/main/java/org/onap/policy/xacml/std/pap/StdEngine.java @@ -349,7 +349,7 @@ public class StdEngine extends StdPDPItemSetChangeNotifier implements PAPPolicyE props.store(os, ""); } } catch (IOException e) { - PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "StdEngine", "Failed to create " + policyProperties); + PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "StdEngine", "Failed to create policyProperties"); throw new PAPException("Failed to create " + id); } } @@ -368,7 +368,7 @@ public class StdEngine extends StdPDPItemSetChangeNotifier implements PAPPolicyE props.store(os, ""); } } catch (IOException e) { - PolicyLogger.error(MessageCodes.ERROR_DATA_ISSUE, e, "StdEngine", "Failed to create " + pipProperties); + PolicyLogger.error(MessageCodes.ERROR_DATA_ISSUE, e, "StdEngine", "Failed to create pipProperties"); throw new PAPException("Failed to create " + id); } |