vitoriabentes opened a new pull request, #4476: URL: https://github.com/apache/logging-log4j2/pull/4476
Fixes #4463. Limit `JsonReader` to 128 levels of nested arrays and objects, throwing `IllegalArgumentException` when the limit is exceeded. Document that the parser is an internal component intended for trusted Log4j input, add tests for the maximum and excessive nesting depths, and increase the JSON fuzzer's input length now that excessive nesting is bounded. Testing: * `.\mvnw.cmd -pl log4j-layout-template-json-test -am '-Dtest=JsonReaderTest' '-Dsurefire.failIfNoSpecifiedTests=false' test` — passed (36 tests) -- 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]
