View | Details | Raw Unified | Return to bug 59743
Collapse All | Expand All

(-)a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java (-1 / +3 lines)
Lines 355-361 public class SXSSFWorkbook implements Workbook { Link Here
355
355
356
    private void injectData(File zipfile, OutputStream out) throws IOException
356
    private void injectData(File zipfile, OutputStream out) throws IOException
357
    {
357
    {
358
        ZipFile zip = ZipHelper.openZipFile(zipfile);
358
        // zipfile was created by POI itself. Do not use ZipSecureFile to
359
        // avoid detection of zip bomb (see [Bug 58499]).
360
        ZipFile zip = new ZipFile(zipfile);
359
        try
361
        try
360
        {
362
        {
361
            ZipOutputStream zos = new ZipOutputStream(out);
363
            ZipOutputStream zos = new ZipOutputStream(out);

Return to bug 59743