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
Thanks for heads-up. Well, the Javadoc is right, the implementation is wrong. The entries in the data holder should not be created when the limit is 0. However, SecurityUtils is correct. Either seconds are counted, then you need a limit, or not.
According to
xstream/xstream/src/java/com/thoughtworks/xstream/XStream.java
Line 1201 in 61a00fa
Per
xstream/xstream/src/java/com/thoughtworks/xstream/XStream.java
Line 1414 in 61a00fa
xstream/xstream/src/java/com/thoughtworks/xstream/XStream.java
Line 2088 in 61a00fa
Additionally,
xstream/xstream/src/java/com/thoughtworks/xstream/core/SecurityUtils.java
Lines 43 to 45 in 61a00fa
It looks like callers need to pass negative values to skip setting the context values and disable the protection.
The text was updated successfully, but these errors were encountered: