This is an automated email from the ASF dual-hosted git repository.
liubao pushed a change to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git.
from 0e227f6 [SCB-967] do not affect original logic, and add configuration
to take effect
new 7831a83 [SCB-965] mostly only need one ObjectMapper instance
new e17c9fd [SCB-965] to avoid copy too many code, use javassist to fix
the DoS problem
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../com/fasterxml/jackson/core/base/DoSFix.java | 151 +++++++++++++
.../jackson/core/base/DoSParserFixed.java | 76 +++++++
.../rest/codec/AbstractRestObjectMapper.java | 5 +
.../common/rest/codec/RestObjectMapper.java | 7 +
.../common/rest/codec/RestObjectMapperFactory.java | 2 +-
.../codec/produce/ProduceProcessorManager.java | 4 +-
.../common/rest/codec/fix/TestDoSFix.java | 246 +++++++++++++++++++++
7 files changed, 489 insertions(+), 2 deletions(-)
create mode 100644
common/common-rest/src/main/java/com/fasterxml/jackson/core/base/DoSFix.java
create mode 100644
common/common-rest/src/main/java/com/fasterxml/jackson/core/base/DoSParserFixed.java
create mode 100644
common/common-rest/src/test/java/org/apache/servicecomb/common/rest/codec/fix/TestDoSFix.java