Bug #79315 [Asn->Csd]: ZipArchive::addFile doesn't honor start/length parameters

From: Date: Fri, 28 Feb 2020 09:29:36 +0000
Subject: Bug #79315 [Asn->Csd]: ZipArchive::addFile doesn't honor start/length parameters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225770@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79315&edit=1

 ID:                 79315
 Updated by:         remi@php.net
 Reported by:        remi@php.net
 Summary:            ZipArchive::addFile doesn't honor start/length
                     parameters
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            Zip Related
 Operating System:   N/A
 PHP Version:        7.3.15
 Assigned To:        remi
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5b2d4c0eccafcd648e574012a1c5331d6e1b1a4f
Log: Fix #79315 ZipArchive::addFile doesn't honor start/length parameters


Previous Comments:
------------------------------------------------------------------------
[2020-02-28 09:05:04] remi@php.net

Description:
------------
Full content of the file always added

Test script:
---------------
$zip->addFile('foo', 'mini.txt', 12, 34)


Expected result:
----------------
Partial content added

Actual result:
--------------
Full file added



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79315&edit=1


Thread (5 messages)

« previous php.bugs (#225770) next »