summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* year++Xinchen Hui2018-01-021-1/+1
|
* Fix allocationAnatol Belski2017-11-271-1/+1
|
* Fix memory leakAnatol Belski2017-11-271-0/+2
|
* Fixed bug #75574 putenv does not work properly if parameter contains ↵Anatol Belski2017-11-271-9/+42
| | | | non-ASCII unicode character
* Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-06-131-2/+2
|\ | | | | | | | | | | * PHP-7.0: NEWS Fixes bug #74708 reflection signatures for random_bytes+random_int
| * Fixes bug #74708 reflection signatures for random_bytes+random_intTyson Andre2017-06-131-2/+2
| | | | | | | | | | They have 1 and 2 required parameters, respectively See https://secure.php.net/manual/en/function.random-int.php
* | Merge branch 'PHP-7.0' into PHP-7.1Sebastian Bergmann2017-04-111-0/+1
|\ \ | |/
| * Fix bug #74409Sebastian Bergmann2017-04-111-0/+1
| |
* | Don't retain mt_rand() seeds across requestsx-xiang2017-03-271-0/+2
| | | | | | | | | | In particular, this prevents manual seeding of mt_rand() to leak across requests.
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-161-1/+5
|\ \ | |/
| * Return FALSE if error_log fails to write all bytesAdam Saponara2017-03-161-1/+5
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-02-231-0/+1
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments)
| * Fixed bug #74148 (ReflectionFunction incorrectly reports the number of ↵Xinchen Hui2017-02-231-0/+1
| | | | | | | | arguments)
* | Fixed bug #73994 incorrect arginfo for unpackJoe Watkins2017-01-261-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-091-0/+9
|\ \ | |/ | | | | | | * PHP-7.0: Fixed #72974 imap is undefined service on AIX
| * Fixed #72974 imap is undefined service on AIXJoe Watkins2017-01-091-0/+9
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Fixed arginfoDmitry Stogov2016-12-191-0/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-11-181-8/+5
|\ \ | |/ | | | | | | * PHP-7.0: Fixed memory leaks in parse_ini_file()
| * Fixed memory leaks in parse_ini_file()Dmitry Stogov2016-11-181-8/+5
| |
* | Unwrap reference returns in cufa etcNikita Popov2016-09-301-0/+12
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2016-09-111-12/+0
|\ \ | |/
| * Remove zpp fallback code (always use Fast ZPP)Andrea Faulds2016-09-111-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds <ajf@ajf.me> Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds <ajf@ajf.me> Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code
| * Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2016-07-201-1/+2
| |\ | | | | | | | | | | | | * PHP-5.6: Fixed arginfo
| | * Fixed arginfoXinchen Hui2016-07-201-1/+2
| | |
* | | Fixed bug #72920 (Accessing a private constant using constant() creates an ↵Xinchen Hui2016-08-221-1/+3
| | | | | | | | | | | | exception AND warning)
* | | fix TS issues with url rewrite globalsAnatol Belski2016-08-201-0/+9
| | |
* | | Fix URL rewriter issuesYasuo Ohgaki2016-08-111-4/+9
| | |
* | | Preserve BC for rand() AND mt_rand() where min > maxLeigh2016-08-101-1/+1
| | |
* | | Fixed arginfoXinchen Hui2016-07-201-1/+2
| | |
* | | Merge branch 'PHP-7.0'Stanislav Malyshev2016-07-191-9/+12
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: (27 commits) fix #72519, possible OOB using imagegif fix #72512, invalid read or write for palette image when invalid transparent index is used Apparently some envs miss SIZE_MAX Fix tests Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment Partial fix for bug #72613 - do not allow reading past error read Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c Fix for bug #72558, Integer overflow error within _gdContributionsAlloc() Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE update NEWS Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders Fix bug #72562 - destroy var_hash properly Fix bug #72551 and bug #72552 - check before converting size_t->int Fix bug #72541 - size_t overflow lead to heap corruption Fix bug #72533 (locale_accept_from_http out-of-bounds access) Fix fir bug #72520 Fix for bug #72513 Fix for bug #72513 CS fix and comments with bug ID ... Conflicts: ext/standard/basic_functions.c
| * | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2016-07-191-9/+12
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: fix #72519, possible OOB using imagegif fix #72512, invalid read or write for palette image when invalid transparent index is used Apparently some envs miss SIZE_MAX Fix tests Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c Fix for bug #72558, Integer overflow error within _gdContributionsAlloc() Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE Fix bug #72562 - destroy var_hash properly Fix bug #72533 (locale_accept_from_http out-of-bounds access) Fix fir bug #72520 Fix for bug #72513 Fix for bug #72513 CS fix and comments with bug ID Fix for HTTP_PROXY issue. 5.6.24RC1 add tests for bug #72512 Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access Fixed bug #72479 - same as #72434 Conflicts: Zend/zend_virtual_cwd.c ext/bz2/bz2.c ext/exif/exif.c ext/session/session.c ext/snmp/snmp.c ext/standard/basic_functions.c main/SAPI.c main/php_variables.c
| | * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2016-07-191-6/+9
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: fix #72519, possible OOB using imagegif fix #72512, invalid read or write for palette image when invalid transparent index is used Apparently some envs miss SIZE_MAX Fix tests Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment Partial fix for bug #72613 - do not treat negative returns from bz2 as size_t Fix bug #72606: heap-buffer-overflow (write) simplestring_addn simplestring.c Fix for bug #72558, Integer overflow error within _gdContributionsAlloc() Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE Fix bug #72562 - destroy var_hash properly Fix bug #72533 (locale_accept_from_http out-of-bounds access) Fix fir bug #72520 Fix for bug #72513 CS fix and comments with bug ID Fix for HTTP_PROXY issue. add tests for bug #72512 Fixed bug #72512 gdImageTrueColorToPaletteBody allows arbitrary write/read access Fixed bug #72479 - same as #72434 Conflicts: ext/bz2/bz2.c main/SAPI.c main/php_variables.c
| | | * Fix for HTTP_PROXY issue.Stanislav Malyshev2016-07-101-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes are made: - _SERVER/_ENV only has HTTP_PROXY if the local environment has it, and only one from the environment. - getenv('HTTP_PROXY') only returns one from the local environment - getenv has optional second parameter, telling it to only consider local environment
| | * | Merge branch 'PHP-5.5.32' into PHP-5.6.18Stanislav Malyshev2016-02-011-0/+1
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5.32: Fixed bug #71488: Stack overflow when decompressing tar archives update NEWS add missing headers for SIZE_MAX backport the escapeshell* functions hardening branch add tests Fix bug #71459 - Integer overflow in iptcembed() Fixed bug #71323 - Output of stream_get_meta_data can be falsified by its input Fix bug #71391: NULL Pointer Dereference in phar_tar_setupmetadata() Fix bug #71335: Type Confusion in WDDX Packet Deserialization Fix bug #71354 - remove UMR when size is 0
| | | * backport the escapeshell* functions hardening branchAnatol Belski2016-01-281-0/+1
| | | |
* | | | Merge RNG fixes RFC. PR #1986Leigh2016-07-171-18/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rng-fixes: Fix legacy mode RAND_RANGE and 32/64-bit consistency Fix crypt salt not being converted to b64 Make mode selection part of mt_srand() Use zend_bitset Improve array_rand distribution Fix some insecure usages of php_rand Alias rand to mt_rand Fix RAND_RANGE for mt_rand Fix mt_rand impl. Provide legacy impl. access. Split rand and mt_rand into separate files
| * | | | Make mode selection part of mt_srand()Leigh2016-07-071-5/+1
| | | | | | | | | | | | | | | | | | | | The mode of operation is intrinsically linked to seeding, so this makes a lot of sense
| * | | | Alias rand to mt_randLeigh2016-07-051-18/+4
| | | | |
| * | | | Fix mt_rand impl. Provide legacy impl. access.Leigh2016-07-051-6/+15
| | | | |
* | | | | Pass error severity to SAPI modules and raise corresponding error level in ↵Martin Vobruba2016-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | Apache
* | | | | Add optind param to getoptAdam Saponara2016-07-081-2/+15
| | | | |
* | | | | Merge branch 'PHP-7.0'Anatol Belski2016-07-051-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * PHP-7.0: fix possible optimization bug
| * | | | fix possible optimization bugAnatol Belski2016-07-051-1/+1
| | | | |
* | | | | Merge branch 'throw-error-in-extensions'Aaron Piotrowski2016-07-051-1/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Replace zend_ce_error with NULL and replace more E_ERROR with thrown ErrorAaron Piotrowski2016-06-131-1/+2
| | | | |
* | | | | Merge branch 'master' into iterableAaron Piotrowski2016-07-031-10/+31
|\ \ \ \ \
| * | | | | Fixed compilation warningsDmitry Stogov2016-06-281-0/+2
| | | | | |
| * | | | | Fixed compilation warningsDmitry Stogov2016-06-231-2/+4
| | | | | |