You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jackson Core包含Jackson数据处理器使用的核心低级增量(“流式”)解析器和生成器抽象。在低于2.15.0的版本中,如果用户解析输入文件并且其中包含深度嵌套的数据,如果深度特别大,Jackson最终可能会抛出StackoverflowError。jackson-core 2.15.0包含一个可配置的深度限制,以确定Jackson在输入文档中遍历的深度,默认允许深度为1000。如果达到限制,jackson-core将抛出StreamConstraintsException。jackson-databind也受益于这一更改,因为它使用jackson-core来解析JSON输入。作为解决方法,用户应避免解析来自不可信源的输入文件。