Skip to content

Commit

Permalink
Fix #898: use ctxt as expected, not _parent
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 28, 2023
1 parent 3b9c7ed commit 48f3066
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ JSON library.
(contributed by Phillipe M)
#897: Note that jackson-core 2.15 is now a multi-release jar
(for more optimized number parsing for JDKs beyond 8)
#898: Possible flaw in `TokenFilterContext#skipParentChecks()`
(reported by @robotmrv)
- Build uses package type "jar" but still produces valid OSGi bundle
(changed needed to keep class timestamps with Reproducible Build)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public TokenFilterContext closeObject(JsonGenerator gen) throws IOException
public void skipParentChecks() {
_filter = null;
for (TokenFilterContext ctxt = _parent; ctxt != null; ctxt = ctxt._parent) {
_parent._filter = null;
ctxt._filter = null;
}
}

Expand Down

0 comments on commit 48f3066

Please sign in to comment.