summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* PHP 5.3.15php-5.3.15PHP-5.3.15Johannes Schlüter2012-07-133-7/+12
|
* PHP 5.3.15RC1php-5.3.15RC1johannes2012-07-053-4/+5
|
* Revert change 3f3ad30c50: There shouldn't be new features in 5.3, especiallyjohannes2012-07-055-45/+25
| | | | not if they aren't in 5.4, too.
* fix (signed) integer overflow (part of bug #52550Nuno Lopes2012-07-021-1/+1
|
* Revert JSON changes to PHP 5.3Nikita Popov2012-07-0112-195/+46
| | | | | | | | | | This reverts the following commits: 974324676b2436f159f42d9241c569f813471684 4662151ea7d7b6920d115cf2a2d6e9d4232727a3 84fe2cc890e49f40bac7c3ba74b3cfc6dc4cef2f This does not revert the JSON changes released in PHP 5.3.14.
* remove duplicates, fix orderStanislav Malyshev2012-06-301-14/+7
|
* - Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 ↵Felipe Pena2012-06-301-1/+3
| | | | for successful XFAIL)
* fix Bug #62273 Segmentation Fault in Mysqli/Mysqlndandrey2012-06-291-0/+7
|
* Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3andrey2012-06-2931-73/+95
|\
| * Fix some lengths in crypt()Nikita Popov2012-06-291-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too much memory will be allocated. sha512 has a 86 character checksum, not 43. That probably was a copy&paste from the sha256 code which indeed has 43. The allocation also was using sizeof(char *), thus allocating 4 or 8 times as much memory as necessary. The sizeof(char *) was removed in the 5.4 branch in b7a92c9 but forgotten on 5.3. The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the output buffer and thus not zeroing out everything. Use the size of the output buffer (needed) instead.
| * Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)Anthony Ferrara2012-06-283-2/+13
| | | | | | | | | | | | Fixed a memory allocation bug in crypt() SHA256/512 that can cause segmentation faults when passed in salts with a null byte early.
| * Add json_last_error_msg() functionNikita Popov2012-06-288-42/+51
| | | | | | | | | | This replaces json_last_error(true) and is consistent with other custom error handling functions.
| * Fix #62432 ReflectionMethod random corrupt memory on high concurrentJohannes Schlüter2012-06-2721-25/+27
| | | | | | | | | | This fixes the same issue in multiple extensions. This isn't needed in later branches as 5.4 introduced object_properties_init()
* | new charsetsandrey2012-06-291-19/+56
|/
* Improve JSON error handlingNikita Popov2012-06-279-49/+95
| | | | | | | | | json_encode() no longer throws warnings. Instead only the error code for json_last_error() is set. As it is hard to debug the error from just an error code an optional $as_string parameter was added to json_last_error(), which returns an error message instead of an error code.
* Fix memleak in CLIJohannes Schlüter2012-06-271-0/+3
|
* ws fixStanislav Malyshev2012-06-262-2/+2
|
* BFNMoriyoshi Koizumi2012-06-251-0/+2
|
* Fix bug #62373 (serialize() generates wrong reference to the object)Moriyoshi Koizumi2012-06-252-5/+27
|
* Fix memory allocation checks for base64 encodeNikita Popov2012-06-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | base64_encode used safe_emalloc, but one of the arguments was derived from a multiplication, thus making the allocation unsafe again. There was a size check in place, but it was off by a factor of two as it didn't account for the signedness of the integer type. The unsafe allocation is not exploitable, but still causes funny behavior when the sized overflows into a negative number. To fix the issue the *4 factor is moved into the size argument (where it is known to be safe), so safe_emalloc can carry out the multiplication. The size check is removed as it doesn't really make sense once safe_emalloc works correctly. (Would only cause base64_encode to silently return false instead of throwing an error. Also could cause problems with other uses of the base64 encoding API, which all don't check for a NULL return value.) Furthermore the (length + 2) < 0 check is replaced with just length < 0. Allowing lengths -2 and -1 doesn't make sense semantically and also is not honored in the following code (negative length would access unallocated memory.) Actually the length < 0 check doesn't make sense altogether, but I left it there just to be safe.
* Improve json_encode error handlingNikita Popov2012-06-239-13/+110
| | | | | | | | | | | | | | | | | | | json_encode() now returns bool(false) for all possible errors, throws the respective warning and also sets the respective json_last_error() error code. Three new error codes have been added: * JSON_ERROR_RECURSION * JSON_ERROR_INF_OR_NAN * JSON_ERROR_UNSUPPORTED_TYPE To get a partial JSON output instead of bool(false) the option JSON_PARTIAL_OUTPUT_ON_ERROR can be specified. In this case the invalid segments will be replaced either by null (for recursion, unsupported type and invalid JSON) or 0 (for Inf and NaN). The warning for invalid UTF-8 stays intact and is thrown also with display_errors = On. If this behavior is undesired this can be remedied later.
* - BFNFelipe Pena2012-06-231-0/+2
|
* - Improved fix for #62384Felipe Pena2012-06-231-5/+3
|
* Remove unneeded and outdated ChangeLog fileJohannes Schlüter2012-06-222-22100/+0
|
* Remove extra ;Johannes Schlüter2012-06-225-5/+5
|
* - Fixed bug #62384 (Attempting to invoke a Closure more than once causes ↵Felipe Pena2012-06-222-0/+31
| | | | segfaul)
* Improve check for :memory: pseudo-filename in SQliteJohannes Schlüter2012-06-222-3/+3
|
* Remove outdated and user-specific filesJohannes Schlüter2012-06-203-151/+0
|
* Add NEWS for bug #62262Nikita Popov2012-06-191-0/+4
|
* Fixed bug RecursiveArrayIterator does not implement CountableNikita Popov2012-06-192-3/+12
| | | | | ArrayIterator implemented Countable only after it was already inherited by RecursiveArrayIterator. Thus the interface was missing in RAI.
* sync zip ext version with peclAnatoliy Belsky2012-06-191-1/+1
|
* one more correction for COM upgrading notesAnatoliy Belsky2012-06-191-3/+4
|
* split gzgetc_basic.phpt for zlib 1.2.7Anatoliy Belsky2012-06-193-2/+66
|
* com ext upgrading correctionAnatoliy Belsky2012-06-181-1/+1
|
* com ext upgrading infoAnatoliy Belsky2012-06-181-0/+4
|
* Reverted the BC fix regarding to #57905, test adoptedAnatoliy Belsky2012-06-172-12/+3
| | | | | | New 0.10.1 has a stronger archive integrity check. Restoring the old behaviour of libzip < 0.10.1 makes no sense at this place.
* Merge PHP 5.3.14 NEWSJohannes Schlüter2012-06-131-2/+55
|
* re-add 61755 to NEWSStanislav Malyshev2012-06-121-0/+4
|
* Make travis silentDavid Soria Parra2012-06-101-0/+10
| | | | | | | Travis will always build all branches. As we just have a .travis.yml on master, travis will go ahead and checkout PHP-5.3. It fails and then sends mails. We really don't want to get spammed, so we add a .travis.yml that is just silent.
* Adding a test for ext/posix/tests/posix_getegid_basic.phptmichelangelo2012-06-101-0/+15
|
* typoStanislav Malyshev2012-06-081-1/+1
|
* improve overflow checksStanislav Malyshev2012-06-081-5/+5
|
* fix potential overflow in _php_stream_scandirStanislav Malyshev2012-06-072-3/+10
|
* set current versions for libzip and zip extAnatoliy Belsky2012-06-072-2/+2
|
* updated NEWSAnatoliy Belsky2012-06-071-0/+2
|
* zip windows fixesAnatoliy Belsky2012-06-073-8/+14
|
* fixed bc break related to #57905Anatoliy Belsky2012-06-071-2/+10
|
* fixed a bit overlooked from the last libzip portAnatoliy Belsky2012-06-071-2/+2
|
* brought the fix for #47667 backAnatoliy Belsky2012-06-071-2/+8
|
* fixed zip entry freeingAnatoliy Belsky2012-06-071-5/+10
|