You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by "github-code-scanning[bot] (via GitHub)" <gi...@apache.org> on 2023/08/02 09:06:20 UTC

[GitHub] [santuario-xml-security-java] github-code-scanning[bot] commented on a diff in pull request #192: New version, Java 11, System.Logger, AutoCloseable, XmlSignatureInput types

github-code-scanning[bot] commented on code in PR #192:
URL: https://github.com/apache/santuario-xml-security-java/pull/192#discussion_r1281620190


##########
src/main/java/org/apache/xml/security/stax/impl/util/DigestOutputStream.java:
##########
@@ -67,9 +66,9 @@
 
     public byte[] getDigestValue() {
         if (isDebugEnabled) {
-            LOG.debug("Pre Digest: ");
-            LOG.debug(stringBuilder.toString());
-            LOG.debug("End pre Digest ");
+            LOG.log(Level.DEBUG, "Pre Digest: ");
+            LOG.log(Level.DEBUG, stringBuilder.toString());

Review Comment:
   ## Log Injection
   
   This log entry depends on a [user-provided value](1).
   
   [Show more details](https://github.com/apache/santuario-xml-security-java/security/code-scanning/1125)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@santuario.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org