Skip to content

Commit ef89b47

Browse files
committed
Fix JENKINS-75864: Add strict loading mode to RobustCollectionConverter
1 parent ff1027f commit ef89b47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/java/hudson/util/RobustCollectionConverterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ void workingByDefaultWithSimplePayload() {
9393
* As RobustCollectionConverter is the replacer of the default CollectionConverter
9494
* We had to patch it in order to not be impacted by CVE-2021-43859
9595
*/
96-
// force timeout to prevent DoS due to test in the case the DoS prevention is
97-
// broken
96+
// force timeout to prevent DoS due to test in the case the DoS prevention is broken
9897
@Test
9998
@Timeout(value = 30 * 1000, unit = TimeUnit.MILLISECONDS)
10099
@Issue("SECURITY-2602")
@@ -175,6 +174,7 @@ private Set<Object> preparePayload() {
175174
max=29 => ~47s
176175
max=30 => >1m30
177176
max=32 => est. 6m
177+
178178
With the protection in place, each test is taking ~15 seconds before the protection triggers
179179
*/
180180

0 commit comments

Comments
 (0)