Update PHP dependencies to fix security issues
This fix CVE-2013-5958 and also
1861e33fe0
This commit is contained in:
parent
b3877e59e4
commit
2fce5c4706
File diff suppressed because it is too large
Load Diff
|
@ -1082,11 +1082,11 @@ class Worksheet extends BIFFwriter
|
||||||
$link_type = pack('V', $link_type);
|
$link_type = pack('V', $link_type);
|
||||||
|
|
||||||
// Calculate the up-level dir count e.g.. (..\..\..\ == 3)
|
// Calculate the up-level dir count e.g.. (..\..\..\ == 3)
|
||||||
$up_count = preg_match_all("/\\.\\.\\\/", $dir_long, $useless);
|
$up_count = preg_match_all('/\\.\\.\\\\/', $dir_long, $useless);
|
||||||
$up_count = pack('v', $up_count);
|
$up_count = pack('v', $up_count);
|
||||||
|
|
||||||
// Store the short dos dir name (null terminated)
|
// Store the short dos dir name (null terminated)
|
||||||
$dir_short = preg_replace("/\\.\\.\\\/", '', $dir_long) . "\0";
|
$dir_short = preg_replace('/\\.\\.\\\\/', '', $dir_long) . "\0";
|
||||||
|
|
||||||
// Store the long dir name as a wchar string (non-null terminated)
|
// Store the long dir name as a wchar string (non-null terminated)
|
||||||
$dir_long = $dir_long . "\0";
|
$dir_long = $dir_long . "\0";
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
namespace PhpOffice\PhpSpreadsheetTests\Calculation;
|
namespace PhpOffice\PhpSpreadsheetTests\Calculation;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
|
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
|
||||||
use PhpOffice\PhpSpreadsheet\Calculation\TextData;
|
use PhpOffice\PhpSpreadsheet\Calculation\TextData;
|
||||||
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
||||||
|
|
Loading…
Reference in New Issue