1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 07:58:20 +02:00
Commit Graph

25818 Commits

Author SHA1 Message Date
Pierrick Charron fb5da94c1b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye ebe8f32891 - WS 2011-07-22 11:26:23 +00:00
Pierre Joye cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Daniel Convissor 5ef9ab3b03 Fix spelling error. 2011-07-21 19:56:54 +00:00
Daniel Convissor 800b0cfcba Revert r311205. Test works in original form and should not vary between branches in this case. 2011-07-21 19:45:18 +00:00
Daniel Convissor b93e77900e Have test for add/sub/diff one second during ST/DST transition in spring. 2011-07-21 15:35:06 +00:00
Boris Lytochkin 96c45c85ad s/noOIDIncreasingCheck/oid_increasing_check/ 2011-07-21 12:47:07 +00:00
Ryan Biesemeyer ce771a2883 removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt 2011-07-20 21:25:39 +00:00
Ryan Biesemeyer 7b21ee9b3f update test for bug #55169, fix skipif 2011-07-20 21:13:03 +00:00
Ryan Biesemeyer 2ac4cd97c8 update test for bug #55169, don't require the extension in INI 2011-07-20 20:57:17 +00:00
Ryan Biesemeyer 80cff0c0e9 tests for bug #55169 (mcrypt and openssl) 2011-07-20 18:59:05 +00:00
Daniel Convissor 038ba91426 Rename and enhance test for bug 55253 now that bugs web is up. 2011-07-20 18:24:14 +00:00
Pierre Joye 69c3f8cbba - re apply the rng change specific to windows, long term it should be a std function but as this function was badly introduced in the 1st place, we have to fix the bad things here instead, pls do not revert again, bad idea. 2011-07-19 23:01:41 +00:00
Scott MacVicar 25fb19764a Revert change to use a special Windows version of openssl_random_pseudo_bytes().
Lets discuss this on internals first. We're advertising something from the OpenSSL library 
and then subverting it with another Windows OS call.

What are the implications of this? Should we make this available in ext/standard/ instead?
2011-07-19 22:29:55 +00:00
Scott MacVicar 02581a0052 openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.
The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.

Also fixed an error in the zend_parse_parameters() having an invalid character being used.
2011-07-19 22:15:56 +00:00
Felipe Pena e97b0d7522 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-07-19 22:12:13 +00:00
Popa Adrian Marius fcf8f2bcaf Fix for bug http://bugs.php.net/54426
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:08:42 +00:00
Pierre Joye 03315d9625 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Rui Hirokawa b150a6db24 added numeric entities encode/decode in hex format. 2011-07-18 08:36:17 +00:00
Boris Lytochkin 5c110b9a76 new propery noOIDIncreasingCheck allowing to skip
OID increasing check (userful for bogus SNMP agents)
2011-07-17 19:45:05 +00:00
Boris Lytochkin e1d4676065 swap non_repeaters and max_repetitions in walk query, max_repetitions whould be used more frequently 2011-07-17 18:17:43 +00:00
Boris Lytochkin a80c2ee19b fix FR #54502: allow user to change OID value output mode when SNMP_VALUE_OBJECT is used. 2011-07-17 17:27:00 +00:00
Boris Lytochkin 281d0eade4 update ARG_INFO_EX for walk and get methods, fix comments 2011-07-17 13:57:28 +00:00
Philip Olson 1cf88d931e Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
David Soria Parra cad2e53064 Fix #55212. Only declare STREAM_PF_INET6 if PHP is compiled with IPv6 support 2011-07-15 15:25:24 +00:00
Scott MacVicar 4dbc1a57ed Fix prototypes for ldap_control_paged_result and fix function name in tests 2011-07-14 18:49:12 +00:00
Pierre Joye 4488350bb5 - fix build 2011-07-14 11:12:33 +00:00
Daniel Convissor e3253b79ad Have test for add/sub/diff one second during DST/ST transition. 2011-07-13 16:22:58 +00:00
Daniel Convissor b23070291b Add test for constructing times during the dst/st conversion. 2011-07-13 16:21:10 +00:00
Daniel Convissor 3311b0f83f Use datetime examine diff file from 5.3 in 5.4 and trunk. 2011-07-13 16:08:03 +00:00
Etienne Kneuss 28c3a180b2 Fix crash 2011-07-12 21:57:14 +00:00
Etienne Kneuss c13f2c3e2c Fix #48860 Implement Serialization for DLL 2011-07-12 21:43:17 +00:00
Pierre Joye b6745ea43a - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Christian Stocker 0c8c69e89b Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446

(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Kalle Sommer Nielsen 513dc26776 Changed http_response_code() to be able to set a response code 2011-07-12 03:56:32 +00:00
Christian Stocker 0a7aeb7f28 Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com) 2011-07-11 15:02:56 +00:00
Christian Stocker 0511fa337e Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
to define forbidden operations within XSLT stylesheets, default is not to 
enable any write operations from XSLT anymore. Bug #54446
2011-07-11 11:16:22 +00:00
Dmitry Stogov 8171e1d81e Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Gustavo André dos Santos Lopes 1ca51e87ea - Further fix for bug #55111 (compilation failure of ext/sockets in Mac OS X). 2011-07-11 08:29:39 +00:00
Pierre Joye 8278f831a5 - use php_win32_get_random_bytes instead of over slow and partially wrong openssl's version 2011-07-10 14:59:33 +00:00
Pierre Joye b8dd53b713 - use warning here to match unix behavior 2011-07-10 14:19:51 +00:00
Andrey Hristov fa27e05438 free data in case of failure in the callee not in the caller 2011-07-05 20:31:53 +00:00
Ilia Alshanetsky 3c82aab151 Fixed bug relating to un-initialized memory access 2011-07-05 20:10:45 +00:00
Stanislav Malyshev e3668bdf1c fix crypt() issue with overlong salt 2011-07-04 23:38:09 +00:00
Dmitry Stogov 34b8924f95 Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Gustavo André dos Santos Lopes be0e5d7f95 - Fixed bug #55111 (sockets extension fails to compile on Mac OSX). 2011-07-02 12:03:32 +00:00
Gustavo André dos Santos Lopes 86ff3bab2d - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Ilia Alshanetsky b2a3d3132d Fixed test 2011-06-28 23:47:05 +00:00
Knut Urdalen 9fd561fe61 working on test coverage for ext/dom, here's 17 more tests 2011-06-28 20:17:15 +00:00
Pierrick Charron e53ca46fc0 Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys on true) 2011-06-28 11:09:06 +00:00