fix comment

This commit is contained in:
Looly 2023-04-23 18:50:31 +08:00
parent 1a82747d94
commit c940beabab

View File

@ -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) {