mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-09 15:17:59 +08:00
fix comment
This commit is contained in:
parent
1a82747d94
commit
c940beabab
@ -46,7 +46,7 @@ public class ZipStreamResource implements ZipResource {
|
|||||||
ZipEntry zipEntry;
|
ZipEntry zipEntry;
|
||||||
while (null != (zipEntry = in.getNextEntry())) {
|
while (null != (zipEntry = in.getNextEntry())) {
|
||||||
consumer.accept(zipEntry);
|
consumer.accept(zipEntry);
|
||||||
// 检查ZipBomb放在读取内容之后,以便entry中的信息正常读取
|
// issue#3018 检查ZipBomb放在读取内容之后,以便entry中的信息正常读取
|
||||||
ZipSecurityUtil.checkZipBomb(zipEntry, maxSizeDiff);
|
ZipSecurityUtil.checkZipBomb(zipEntry, maxSizeDiff);
|
||||||
}
|
}
|
||||||
} catch (final IOException e) {
|
} catch (final IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user