Commit Graph

61199 Commits

Author SHA1 Message Date
Moriyoshi Koizumi
1f396617eb - Show PHP_VERSION in the banner. Suggested by Chris and others. 2011-07-21 07:31:29 +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
Moriyoshi Koizumi
b07ad1e1a2 Fixed bug #55071. Maybe a bit overkill? 2011-07-20 09:00:20 +00:00
Moriyoshi Koizumi
06381a8f25 - Better error handling. 2011-07-20 08:43:12 +00:00
Moriyoshi Koizumi
81cd23df4a - Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses. 2011-07-20 04:34:01 +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
Jérôme Loyet
9620fb7e09 - Dropped restriction of not setting the same value multiple times, the last one holds (giovanni at giacobbi dot net) 2011-07-19 22:38:04 +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
Jérôme Loyet
3d10c57cd6 - enhanced log messages
- code cosmetic
2011-07-19 22:18:08 +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
Moriyoshi Koizumi
9f98a430fd - Fixed bug #55107 (Null bytes in URL cause insecure behavior (code execution / code disclosure)). 2011-07-19 18:17:25 +00:00
Moriyoshi Koizumi
7505322d15 - Buffers are local to the blocks where they belong. 2011-07-19 18:00:16 +00:00
Moriyoshi Koizumi
8e42748a37 - Print HTTP method as well in the log.
- Print response code also when the request is processed by a script.
- Those changes partly closes #55109.
2011-07-19 17:47:34 +00:00
Pierre Joye
8ebba9c69d - cleanup 2011-07-19 12:02:22 +00:00
Pierre Joye
101a9ee4e2 - update libpng to 1.2.46 2011-07-19 10:22:42 +00:00
Jérôme Loyet
9fa7a7e554 order fpm configuration items the same way in php-fpm.conf.in, fpm_conf.h and fpm_conf.c 2011-07-18 21:49:38 +00:00
Pierre Joye
03315d9625 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Jérôme Loyet
251879c890 fix a segfault when passing an empty value to a ini parameter from the web server (php_(admin_)?value) 2011-07-18 21:03:44 +00:00
Pierre Joye
3c323a5d6d - not a good idea after all and did not do what I thought it should do 2011-07-18 12:00:08 +00:00
Pierre Joye
ba22d8a37b - fix bug #54204, Can't set a value with a PATH section in php.ini 2011-07-18 10:25:36 +00:00
Rui Hirokawa
b150a6db24 added numeric entities encode/decode in hex format. 2011-07-18 08:36:17 +00:00
Jérôme Loyet
6d3ff0eda1 - don't write directly to stderr, use the internal logger instead (zlog) 2011-07-18 00:53:13 +00:00
Jérôme Loyet
1dc21c2fd0 remove unused variable 2011-07-18 00:19:22 +00:00
Jérôme Loyet
a476f4d92c - remove is_fastcgi because FPM is always fastcgi 2011-07-18 00:09:30 +00:00
Jérôme Loyet
22065bc050 - get rid of FPM_AUTOCONFIG_H which has never existed since FPM integration into core 2011-07-17 23:33:22 +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
Jérôme Loyet
a3592145f8 backport r313186 from PHP_5_4 2011-07-17 14:42:58 +00:00
Jérôme Loyet
5ba64c511f backport r313323 and r313326 from PHP_5_4 2011-07-17 14:31:32 +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
Derick Rethans
ecd9d194d0 - Added a check for an enviroment variable (ZEND_DONT_UNLOAD_MODULES) that, if
set, prevents PHP from dl_closing() modules on shutdown.
- This makes it possible to spot memory leaks with valgrind in shared modules.
2011-07-14 12:21:15 +00:00
Pierre Joye
4488350bb5 - fix build 2011-07-14 11:12:33 +00:00
Pierre Joye
731029a672 - fix decl 2011-07-14 10:54:39 +00:00
Jérôme Loyet
3af61f1bf2 find option '-not' is not POSIX compliant 2011-07-13 23:28:48 +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
Pierre Joye
1655d6d4c7 - bind to the available crt version 2011-07-13 06:42:39 +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