SOLR-14905: Upgrade commons-io version to 2.8.0.

Closes #1934
This commit is contained in:
Bruno Roustant 2020-10-01 10:07:42 +02:00
parent 2e2161b0e0
commit 167c3050df
No known key found for this signature in database
GPG Key ID: CD28DABB95360525
6 changed files with 6 additions and 9 deletions

View File

@ -187,6 +187,8 @@ Improvements
* SOLR-14859: DateRangeField now throws errors when invalid field/fieldType options specified; no longer silently accepts incompatible option values
(Jason Gerlowski, Chris Hostetter, Munendra S N)
* SOLR-14905: Update commons-io version to 2.8.0 due to security vulnerability. (Nazerke Seidan via Bruno Roustant)
Optimizations
---------------------

View File

@ -597,12 +597,7 @@ public class FileUtil {
File[] allFiles = dir.listFiles();
if(allFiles != null) {
for (int i = 0; i < allFiles.length; i++) {
boolean isSymLink;
try {
isSymLink = org.apache.commons.io.FileUtils.isSymlink(allFiles[i]);
} catch(IOException ioe) {
isSymLink = true;
}
boolean isSymLink = org.apache.commons.io.FileUtils.isSymlink(allFiles[i]);
if(!isSymLink) {
size += getDU(allFiles[i]);
}

View File

@ -1 +0,0 @@
815893df5f31da2ece4040fe0a12fd44b577afaf

View File

@ -0,0 +1 @@
92999e26e6534606b5678014e66948286298a35c

View File

@ -34,7 +34,7 @@ com.tdunning:t-digest:3.1 (1 constraints: a804212c)
commons-cli:commons-cli:1.4 (1 constraints: a9041e2c)
commons-codec:commons-codec:1.13 (1 constraints: d904f430)
commons-collections:commons-collections:3.2.2 (1 constraints: 09050236)
commons-io:commons-io:2.6 (1 constraints: ac04232c)
commons-io:commons-io:2.8.0 (1 constraints: 0c050d36)
commons-lang:commons-lang:2.6 (1 constraints: 2a0d520d)
commons-logging:commons-logging:1.1.3 (2 constraints: c8149e7f)
de.l3s.boilerpipe:boilerpipe:1.1.0 (1 constraints: 0405f335)

View File

@ -27,7 +27,7 @@ com.vaadin.external.google:android-json=0.0.20131108.vaadin1
commons-cli:commons-cli=1.4
commons-codec:commons-codec=1.13
commons-collections:commons-collections=3.2.2
commons-io:commons-io=2.6
commons-io:commons-io=2.8.0
commons-logging:commons-logging=1.1.3
de.l3s.boilerpipe:boilerpipe=1.1.0
io.dropwizard.metrics:*=4.1.5