1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00
Commit Graph

840 Commits

Author SHA1 Message Date
Jani Taskinen
77816c4ed9 - Fix win32 build 2009-05-20 12:09:33 +00:00
Jani Taskinen
61abd918e7 MFH: Unify macros 2009-05-19 11:12:33 +00:00
Ilia Alshanetsky
51eb7b4aea Update tests to accomodate new parameter parsing API and make long2ip() use
it as well
2009-04-29 22:06:28 +00:00
Ilia Alshanetsky
1e09a216e4 MFB: Fixed bug #47365 (ip2long() may allow some invalid values on certain
64bit systems)
2009-04-28 22:31:25 +00:00
Sebastian Bergmann
ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Stanislav Malyshev
8a0fc77582 properly initialize BG(page_uid) and BG(page_gid) 2008-11-28 23:27:46 +00:00
Arnaud Le Blanc
fbde968865 MFH: Missed file from commit for #44181 & #44182 2008-11-26 04:08:30 +00:00
Arnaud Le Blanc
90f9f11fbe MFH 2008-11-24 19:17:56 +00:00
Stanislav Malyshev
d3376cb591 Add option to send error_log directly to SAPI 2008-11-13 19:22:01 +00:00
Jani Taskinen
69378b449c [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:21:19 +00:00
Jani Taskinen
1fd9b3f536 MFH: fix include 2008-08-18 10:50:10 +00:00
Felipe Pena
a0e34ecfee - Reverted the accidental previous commit 2008-05-18 22:32:33 +00:00
Felipe Pena
0f3bde23fd - MFB: Making compatible with 64bit platform 2008-05-18 21:50:58 +00:00
Antony Dovgal
86cf005ca2 MFH: revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:47:29 +00:00
Ilia Alshanetsky
fe5e6c081e MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
in POSIX systems).
2008-05-06 18:03:52 +00:00
David Soria Parra
bb4e8b10e3 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:55:26 +00:00
Sebastian Bergmann
d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Hannes Magnusson
d3fd30265a MFB5.3: Fixed bug#43293 (Multiple segfaults in getopt()) 2007-11-14 15:19:29 +00:00
Dmitry Stogov
9926736605 Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK (Andrew Sitnikov) 2007-10-22 07:37:20 +00:00
Jani Taskinen
1be447eb95 MFH: Removed ending dots from error messages 2007-10-04 13:31:11 +00:00
Derick Rethans
e280715150 - MFH: Add a comment why not ~0 or -1. 2007-09-06 13:28:05 +00:00
Derick Rethans
152d379950 - MFH: Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
64-bit PHP).
2007-09-01 18:38:39 +00:00
Jani Taskinen
cac7e107c6 MFH: ws + protos 2007-08-31 10:46:19 +00:00
Jani Taskinen
eb4a23c5ca - Check the length too (just like in HEAD) 2007-08-16 23:05:43 +00:00
Jani Taskinen
a3e6f47ea1 MFH:- Fix bug #41946 (ip2long("") should return FALSE) 2007-08-16 22:17:10 +00:00
Antony Dovgal
93af1c1f84 MFH: fix #41989 (move_uploaded_file() & relative path in ZTS mode) 2007-07-19 15:49:45 +00:00
Johannes Schlüter
dc8d09bbbd - MFH: Always enable mail() function 2007-07-11 17:36:56 +00:00
Dmitry Stogov
539f67ed8f Added ability to create local or remote (URL) user streams
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
  of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
  By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
  stream is local or remote (URL)
]
2007-07-09 17:27:24 +00:00
Antony Dovgal
ce22f44493 MFH: fix #41445 (parse_ini_file() has a problem with certain types of integer as sections) 2007-06-26 12:10:08 +00:00
Antony Dovgal
5daef5cd4a fix #41773 (php_strip_whitespace sends headers with errors suppressed)
MFB is not needed, output buffering in HEAD handles this situation correctly
2007-06-25 21:12:47 +00:00
foobar
f7d22b60f0 MFH:- Added php_ini_loaded_file() function which returns the path to the actual
php.ini in use.
2007-06-09 11:44:08 +00:00
Hannes Magnusson
cdd37424a8 Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities() 2007-05-22 15:38:27 +00:00
Antony Dovgal
a69e6e2c79 MFH: improve variable name checks
add more tests
2007-05-22 14:34:23 +00:00
Rasmus Lerdorf
52c2d6c235 Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows 2007-05-17 06:38:13 +00:00
Antony Dovgal
7efde494d7 MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:28:11 +00:00
Antony Dovgal
16129b7024 MFH: fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:34:14 +00:00
Antony Dovgal
562f886ecb MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP) 2007-04-10 09:37:09 +00:00
Ilia Alshanetsky
1453879587 Added additional checks for long input arrays inside
import_request_variables().

# Missing checks identified by Stefan Esser
2007-03-10 19:20:16 +00:00
Ilia Alshanetsky
b3b6db3f03 Add _SESSION to checklist 2007-03-09 01:48:56 +00:00
Ilia Alshanetsky
0fa1427c6e Fixed a possible super-global overwrite inside import_request_variables().
# Reported by Stefano Di Paola
2007-03-09 01:42:20 +00:00
Antony Dovgal
af1843f866 MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array) 2007-03-08 00:44:23 +00:00
Dmitry Stogov
f027aef074 Fixed possible crash in putenv() on win32 2007-02-22 08:23:17 +00:00
Stanislav Malyshev
462d545a63 fix putenv - if there was no previous, remove variable from environ 2007-02-21 03:03:37 +00:00
Dmitry Stogov
a3493bd3de Optimize out RINIT() 2007-02-16 16:35:04 +00:00
Dmitry Stogov
0262f05c17 Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby) 2007-02-16 13:12:10 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Dmitry Stogov
53b088e60c Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 10:49:33 +00:00
Hannes Magnusson
1e19ee8785 - Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:34:36 +00:00
Dmitry Stogov
03312cc0d9 Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:58:58 +00:00
Ilia Alshanetsky
a055e93a27 optimize out strlen() calls
# Patch by Matt Wilmas
2006-12-13 15:31:47 +00:00