srdo commented on a change in pull request #644:
URL: https://github.com/apache/logging-log4j2/pull/644#discussion_r775127430
##########
File path:
log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java
##########
@@ -168,6 +168,11 @@
private static final int BUF_SIZE = 256;
+ /**
+ * The maximum number of recursions performed during substitution.
+ */
+ private static final int MAX_SUBSTITUTION_RECURSIONS = 10;
Review comment:
Otherwise, if people are fine with this being a fixed number, I'll
inline the constant as suggested. Let me know what you prefer :)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]