Possible flaw in TokenFilterContext#skipParentChecks()
· Issue #898 · FasterXML/jackson-core (original) (raw)
There is a code in com.fasterxml.jackson.core.filter.TokenFilterContext#skipParentChecks
public void skipParentChecks() { _filter = null; for (TokenFilterContext ctxt = _parent; ctxt != null; ctxt = ctxt._parent) { _parent._filter = null; } }
since _parent
is a field looks like there is typo in the loop body_parent._filter = null;
-> ctxt._filter = null;
This is actual for at least 2.13, 2.14, 2.15 branches