summaryrefslogtreecommitdiff
path: root/ext/standard
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Fixed bug #75535Nikita Popov2017-11-172-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sizeof()s for Content-Length and Transfer-Encoding were missing the trailing ":". Apart from being generally wrong, this no longer verified that the header actually contains a colon, leading to the null http_header_value being used. Additionally, in the interest of being defensive, also make sure that http_header_value is non-null by setting it to the end of the header line (effectively an empty string) if there is no colon. If the following conditions are correct, this value is not going to be used though.
* | | | Fix printf format issues on i386Nikita Popov2017-11-171-2/+2
| | | |
* | | | Backport some printf() fixes to 7.2Nikita Popov2017-11-161-4/+4
| | | |
* | | | Bugfix#75515 php://streams behaving greedilySara Golemon2017-11-131-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5060fc23 attempted to fix #68948 by treating all non-uri streams as non-blocking, however php://fd/* streams (which includes stdin) may block if the other end of the IPC isn't finished. This represents a partial revert to the pre RC6 state, but includes an escape hatch for php://memory and php://temp streams which are local to the current process. This also restores stream_set_chunk_size test to previous state.
* | | | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-11-132-2/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * PHP-7.1: NEWS Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit
| * | | Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bitRemi Collet2017-11-132-2/+14
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2017-11-131-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Avoid overflow
| * | | Avoid overflowXinchen Hui2017-11-131-1/+1
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2017-11-131-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Fixed bug #75511 (fread not free unused buffer)
| * | | Fixed bug #75511 (fread not free unused buffer)Xinchen Hui2017-11-131-0/+4
| | | |
* | | | Fixes #68948 related to a BC break introduced by #68532 fix.Simon JAILLET2017-11-062-4/+36
| | | |
* | | | Fix proto documents for new global functionsTyson Andre2017-11-061-2/+2
| | | | | | | | | | | | | | | | See NEWS and UPGRADING (or arginfo/implementation) for details.
* | | | Don't optimize input arrays with suffix holesSara Golemon2017-10-272-2/+22
| | | |
* | | | Fixed bug #75221 (Argon2i always throws NUL at the end)Christoph M. Becker2017-10-122-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, `argon2_encodedlen()` also counts the terminating NUL byte; that doesn't appear to be documented somewhere, but from looking at the implementation[1] it is pretty obvious. Therefore, the respective `zend_string` has to be one byte shorter. [1] <https://github.com/P-H-C/phc-winner-argon2/blob/20161029/src/argon2.c#L431-L436>
* | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-10-111-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: It looks like i should've taken joint response on ext/fileinfo long ago
| * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-10-111-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: It looks like i should've taken joint response on ext/fileinfo long ago
| | * | It looks like i should've taken joint response on ext/fileinfo long agoAnatol Belski2017-10-111-1/+1
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2017-10-071-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
| * | | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-10-071-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
| | * | Bugfix #74556 stream_socket_get_name() returns null bytes on MacOSSara Golemon2017-10-071-1/+1
| | | |
* | | | Fix bug #75279Peter Kokot2017-09-291-1/+1
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-281-0/+60
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Fix mkdir() special case for path length < 260 and > 248
| * | | Fix mkdir() special case for path length < 260 and > 248Anatol Belski2017-09-281-0/+60
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-09-271-0/+28
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Fixed #75220 - Segfault when calling is_callable on parent
| * | | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-09-271-0/+28
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Fixed #75220 - Segfault when calling is_callable on parent
| | * | Fixed #75220 - Segfault when calling is_callable on parentNester2017-09-271-0/+28
| | | |
* | | | Create $http_response_header even if not usedNikita Popov2017-09-261-1/+1
| | | | | | | | | | | | | | | | Extensions are relying on it.
* | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-121-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Fix test failure on 32-bit
| * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-09-121-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Fix test failure on 32-bit
| | * | Fix test failure on 32-bitAnatol Belski2017-09-121-1/+1
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-09-113-3/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Fix test portability
| * | | Fix test portabilityAnatol Belski2017-09-113-3/+3
| | | | | | | | | | | | | | | | | | | | The message comes from the C runtime, so it is not reliable to check the exact wording.
* | | | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2017-09-115-68/+58
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-7.1: Fixed bug #75152 (signed integer overflow in parse_iv) Conflicts: ext/standard/var_unserializer.c
| * | | Fixed bug #75152 (signed integer overflow in parse_iv)Xinchen Hui2017-09-115-67/+57
| | | |
* | | | Fixed bug #75170Nikita Popov2017-09-072-29/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change may result in different mt_rand/rand sequences being generated on 64-bit systems for a specific seed. See also https://externals.io/message/100229.
* | | | Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2017-08-241-8/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: From documentation, only the sign of returned value is relevant
| * | | Merge branch 'PHP-7.0' into PHP-7.1Remi Collet2017-08-241-8/+8
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: From documentation, only the sign of returned value is relevant
| | * | From documentation, only the sign of returned value is relevantRemi Collet2017-08-241-8/+8
| | | | | | | | | | | | | | | | With recent glibc, memcmp sometime return a negative value instead of -1
* | | | Attempt to fix unstable testXinchen Hui2017-08-211-1/+1
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Andrea Faulds2017-08-191-2/+2
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2017-08-191-2/+2
| |\ \ \ | | |/ /
| | * | Fixed bug #75097 (gethostname fails if your host name is 64 chars long)Andrea Faulds2017-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP contained two different off-by-one errors, which are fixed here. First, it created a buffer of size HOST_NAME_MAX, not adding space for a null terminator. Second, it subtracted 1 from the size of that buffer when passing its size to gethostname(), despite gethostname() expecting it to be a buffer size including space for a terminating null byte, not a string length.
* | | | Merge branch 'PHP-7.1' into PHP-7.2Dmitry Stogov2017-08-151-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Made test 32/64-bit independent
| * | | Made test 32/64-bit independentDmitry Stogov2017-08-151-2/+2
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Xinchen Hui2017-08-152-0/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * PHP-7.1: Update NEWS Fixed bug #75075 (unpack with X* causes infinity loop)
| * | | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-08-152-0/+14
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Fixed bug #75075 (unpack with X* causes infinity loop)
| | * | Fixed bug #75075 (unpack with X* causes infinity loop)Xinchen Hui2017-08-152-0/+14
| | | |
* | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-08-144-6/+21
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.1: Test cleanup improvements, files might be locked in the test process
| * | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-08-144-6/+21
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.0: Test cleanup improvements, files might be locked in the test process
| | * | Test cleanup improvements, files might be locked in the test processAnatol Belski2017-08-144-6/+21
| | | |