SVN Migration
335a76cc78
This commit was manufactured by cvs2svn to create tag 'php_5_2_2RC1'.
2007-04-10 22:31:17 +00:00
Ilia Alshanetsky
ba5e5fe4ed
5.2.2RC1
2007-04-10 22:31:16 +00:00
Antony Dovgal
19aa4a932f
fix #40931 (open_basedir bypass via symlink and move_uploaded_file())
2007-04-10 22:30:07 +00:00
Antony Dovgal
e145f1aa2a
skip test if openssl is present
2007-04-10 21:38:20 +00:00
Antony Dovgal
5f48fbb4da
skip this test on MacOS
2007-04-10 21:20:44 +00:00
Antony Dovgal
903155d504
fix test name
2007-04-10 21:16:56 +00:00
Antony Dovgal
ab84306fc7
fix #41043 (pdo_oci crash when freeing error text with persistent connection)
2007-04-10 20:28:49 +00:00
Marcus Boerger
5447fca028
- WS/CS
2007-04-10 15:56:31 +00:00
Marcus Boerger
b15d742639
- Cleanup the cleanup
2007-04-10 15:50:34 +00:00
Antony Dovgal
cf440194b0
declare THREADSAFE explicitly (it's On if undefined)
2007-04-10 11:32:48 +00:00
foobar
26761c4222
- Fixed ZEND_SIGNED_MULTIPLY_LONG() so that ext/filter/tests/046.phpt wont fail. (Integer overflow)
2007-04-10 10:57:35 +00:00
Antony Dovgal
3aaf8bbdb7
fix test
2007-04-10 10:49:16 +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
Dmitry Stogov
08daab9d1c
Initial WIN64 support
2007-04-10 06:22:28 +00:00
Antony Dovgal
c61cbbdc9f
fix folding tags
2007-04-09 21:19:38 +00:00
foobar
191b843a02
Fix test
2007-04-09 20:07:25 +00:00
Ilia Alshanetsky
eb8d30f912
Upgrade libsqlite 3 inside PDO sqlite to version 3.3.15
2007-04-09 16:35:11 +00:00
Dmitry Stogov
857f992cd3
Removed wrong size_t definition
2007-04-09 15:39:59 +00:00
Dmitry Stogov
4de76f02ea
Fixed 64-bit support
2007-04-09 15:38:58 +00:00
Dmitry Stogov
1b01048cd8
Fixed 64-bit issues
2007-04-09 15:32:35 +00:00
Dmitry Stogov
6c394c8b38
ZTS fix
2007-04-09 15:32:08 +00:00
Antony Dovgal
383c7fe437
BFN
2007-04-09 07:30:26 +00:00
Antony Dovgal
b2e2994a6e
fix #41026 (segfault when calling "self::method()" in shutdown functions)
2007-04-09 07:30:09 +00:00
Ilia Alshanetsky
65afdf097c
Fixed bug #40822 (pdo_mysql does not return rowCount() on select).
2007-04-08 15:26:21 +00:00
Johannes Schlüter
8591b20d4e
- MFH: Added linenumbers to array returned by token_get_all()
2007-04-08 00:18:38 +00:00
Antony Dovgal
d428314e2d
MFB: clean & refactored disk_*() funcs implementation
...
Ilia, feel free to make these functions public, though I don't see why would want to do that
2007-04-06 22:10:56 +00:00
Antony Dovgal
f2f885c023
fix test
2007-04-06 19:35:12 +00:00
Andrei Zmievski
da4ba85cb4
We can't use the printf attribute here since we are supporting
...
non-standard formats (like 'F').
2007-04-06 19:25:52 +00:00
Andrei Zmievski
fb2def7d97
Apologies. Didn't realize we were using custom snprintf().
2007-04-06 18:27:58 +00:00
Andrei Zmievski
8a1f346162
Typo?
2007-04-06 18:25:49 +00:00
Marcus Boerger
515f4f6e6f
- Fix 40442
2007-04-06 17:57:10 +00:00
Marcus Boerger
0ec117146e
- Add bug name
2007-04-06 17:54:22 +00:00
Marcus Boerger
b08cfa8833
- Better fix for #40091
2007-04-06 16:00:08 +00:00
Pierre Joye
17eaaea1f7
- Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and HAVE_LIBFREETYPE
...
to config.w32 (Thanks to Frank for the report)
2007-04-06 15:38:35 +00:00
Marcus Boerger
63d8f70206
- Fix #40442
2007-04-06 15:32:30 +00:00
Ilia Alshanetsky
aa18505f34
Avoid locks when appening to the error log file
2007-04-06 13:58:48 +00:00
Ilia Alshanetsky
d9adb6715f
Fixed foreach by-ref bug.
...
# Patch from Brian Shire
2007-04-05 23:48:43 +00:00
Marcus Boerger
9c5ea420ac
- MFH zend_info_call_*() stuff, fixes coverity issue #328 , noticed by tony
2007-04-05 19:49:42 +00:00
Rob Richards
3530b8a2c6
fix win32 build
2007-04-05 18:08:42 +00:00
Pierre Joye
12b66657d7
- reflect the "real" version to avoid confusions. Users should really use
...
only the bundled version
2007-04-05 11:57:57 +00:00
Pierre Joye
e3bc12631b
- MFB: import the right data 005_crt.txt
2007-04-05 09:38:45 +00:00
Antony Dovgal
70cd86420b
MFH: fix build
2007-04-05 09:33:10 +00:00
Pierre Joye
1ace1904e4
- MFH: add missing data for 005.phpt
2007-04-05 09:00:07 +00:00
Antony Dovgal
e0318e21fb
fix test
2007-04-05 07:23:56 +00:00
Antony Dovgal
90a277d0ce
fix ZTS build
2007-04-05 07:10:07 +00:00
Ilia Alshanetsky
ed0f0e4a67
Fixed bug #40999 (mcrypt_create_iv() not using random seed).
2007-04-05 01:48:56 +00:00
Pierre Joye
6e5875b025
- nuke c++ comments
2007-04-04 22:00:51 +00:00
Pierre Joye
b7fde2caa7
- #39867 and openssl MB fix
2007-04-04 21:27:55 +00:00
Pierre Joye
d4fb0108bc
- implement #39867 , PKCS#12 support
...
- Fix possible multibyte issues issue in the add_assoc function
- add test for openssl_csr_get_subject
2007-04-04 21:24:01 +00:00
Pierre Joye
2a2fd69fbf
- filter and gd entries
2007-04-04 21:01:51 +00:00
Pierre Joye
2caba30962
- #40947 , allow a single filter as argument for filter_var_array
2007-04-04 20:50:26 +00:00
Antony Dovgal
39f9184fa6
MFH: fix #40998 (long session array keys are truncated)
2007-04-04 19:52:19 +00:00
Seiji Masugata
febad95f3f
Sync with mail function in mb_send_mail function(problem MOPB-33-2007:PHP and MOPB-34-2007:PHP).
2007-04-04 15:25:41 +00:00
Nuno Lopes
5833fc40dc
fix race condition on font cache shutdown
2007-04-04 14:24:03 +00:00
Pierre Joye
539be2cc81
- do not try to use the global color map when none was found (Nuno, Pierre)
...
- free im on error
2007-04-04 11:40:11 +00:00
Antony Dovgal
e07b83afb2
MFH: fix leak on error
2007-04-04 10:44:55 +00:00
Pierre Joye
89ad25f1af
- MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used
2007-04-04 01:58:24 +00:00
Pierre Joye
e4749c609c
- Sync with gd 2.0.35 (bug #52 , #60 and #66 )
...
- Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre)
- a frame size must be confined to the screen defition (Pierre)
- be sure to always read the dimensions in the frame and does not use
the screen size (see #66 for a side effect) (Pierre)
- Update #37360 test. The frame does not fit the logical screen (specs
tell that it must fit) (Pierre)
2007-04-04 01:34:50 +00:00
Pierre Joye
6ef9642b16
- MFH:
...
- remove double lock (tween colors cache is created in each thread, the
cache mutex is already locked earlier)
- #40858 , other TS improvements for gd freetype cache management
cache initialization and shutdown is now done in MINIT and MSHUTDOWN.
2007-04-04 00:47:55 +00:00
Ilia Alshanetsky
17c0c49a54
Addres limitation of __HALT_COMPILER() that allowed only one instance
...
per request.
# Patch by Greg Beaver
2007-04-04 00:42:42 +00:00
Pierre Joye
a9ca51ff1a
. colors allocated henceforth from the resulting image overwrite
...
the palette colors (sync with 2.0.34) (Rob Leslie)
2007-04-04 00:30:18 +00:00
Antony Dovgal
0c168b643c
BFN
2007-04-03 20:21:20 +00:00
Antony Dovgal
eb25e82249
MFH: fix #39351 (relative include fails on Solaris)
2007-04-03 20:20:56 +00:00
Brian Shire
bd4add59f7
correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
...
fix pack test, correct space to tabs
2007-04-03 19:50:40 +00:00
Rob Richards
0291924222
allow registered classes to be changed
2007-04-03 11:57:04 +00:00
Ilia Alshanetsky
ba4089ac41
Fixed typos
2007-04-02 21:35:46 +00:00
Stanislav Malyshev
67cdb4927b
fix #33664
2007-04-02 20:51:12 +00:00
Stanislav Malyshev
8f0d69159e
fix for #33664 Console window appears when using exec()
2007-04-02 20:44:30 +00:00
foobar
3da21dc6fc
- 64bit test
2007-04-02 15:09:37 +00:00
foobar
bb0547029a
- Make this 32bit only test. (will add 64bit version next)
2007-04-02 15:02:02 +00:00
Dmitry Stogov
36c6ad915b
Fixed bug #37013 (server hangs when returning circular object references)
2007-04-02 13:43:08 +00:00
foobar
2429299507
- Changed phpinfo() to make difference between set php.ini path and what was actually loaded.
2007-04-02 12:41:07 +00:00
Dmitry Stogov
77a8b0be35
Fixed test
2007-04-02 11:44:40 +00:00
Ilia Alshanetsky
642432a5de
Fixed bug #40897 (error_log file not locked)
2007-04-01 19:29:42 +00:00
Ilia Alshanetsky
f80afa623d
Fixed bug #40921 (php_default_post_reader crashes when post_max_size is
...
exceeded).
2007-04-01 19:09:36 +00:00
Dmitry Stogov
99c5cebab3
new test
2007-03-30 10:10:33 +00:00
Ilia Alshanetsky
86ca439a5d
Fixed MOPB-34-2007:PHP mail() Header Injection Through Subject and To
...
Parameters
2007-03-30 00:28:58 +00:00
Sara Golemon
52b07d1895
Add missing #if check
2007-03-29 18:47:04 +00:00
Antony Dovgal
9de5929efa
add news entry
...
+ minor text fixes
2007-03-29 09:33:50 +00:00
Antony Dovgal
26cf62d293
MFH: fix PECL bug #10194 (crash in Oracle client when memory limit reached in the callback)
...
preallocate the required buffer, so that it would fail earlier.
2007-03-29 09:33:04 +00:00
Dmitry Stogov
4a119f9a79
Improved FastCGI SAPI to support external pipe and socket servers on win32
2007-03-28 15:39:22 +00:00
foobar
1c36d38891
- Fix test: Some people actually use --enable-debug here..
2007-03-28 12:25:33 +00:00
Zoe Slattery
c18d3b56e7
new ltrim, rtrim and str_pad tests
2007-03-28 10:44:04 +00:00
Antony Dovgal
859c3c22d9
add .cvsignore
2007-03-28 10:10:04 +00:00
Antony Dovgal
481609c980
MFH: fix #40392 (memory leaks in PHP milter SAPI)
2007-03-28 10:08:31 +00:00
Zoe Slattery
517865fb6e
New tests for printf and ucfirst
2007-03-28 09:38:30 +00:00
Antony Dovgal
291f3a28c9
MFH: fix compile warning
2007-03-28 09:14:08 +00:00
Zoe Slattery
23d64aeaa4
Three new string tests for funtions strcasecmp, strcmp and strlen.
2007-03-28 09:08:08 +00:00
Marcus Boerger
acf92f283a
- MFH Allow to load multipe extensions via -d
2007-03-27 20:28:06 +00:00
Antony Dovgal
2c06cea75b
MFH: fix compile warning
2007-03-27 09:29:10 +00:00
Antony Dovgal
b9bffbe019
fix compile warning
2007-03-27 09:20:27 +00:00
Ilia Alshanetsky
ae1c5674cb
Fixed MOPB-33-2007:PHP mail() Message ASCIIZ Byte Truncation
2007-03-27 00:13:09 +00:00
Rob Richards
c0cd876a7f
BFN
2007-03-26 20:17:30 +00:00
Rob Richards
b7c2eb3228
fix bug #37386 (autocreating element doesn't assign value to first node)
...
all single SimpleXMLElements are addressable using offset 0
use correct node for xpath context node
add test
2007-03-26 20:14:58 +00:00
Antony Dovgal
7053b89072
MFH: fix #40915 (addcslashes unexpected behavior with binary input)
2007-03-26 10:25:41 +00:00
Marcus Boerger
4e085083cd
- MFH Need to install headers
2007-03-25 12:53:47 +00:00
Hannes Magnusson
d677506541
Typo
2007-03-25 11:47:27 +00:00
foobar
f5d9f9cd27
- Check if Makefile.frag actually exists before running sed on it.
2007-03-25 10:21:02 +00:00
foobar
82023f9aac
- Fixed test to skip when mysqld is not running
2007-03-25 01:14:51 +00:00
Marcus Boerger
eceb7faee0
- MFH Drop double variable declaration
2007-03-24 16:28:53 +00:00
Ilia Alshanetsky
bc1f7356d7
Fixed CRLF injection inside ftp_putcmd().
...
# Reported on BugTraq by loveshell[at]Bug.Center.Team
2007-03-24 16:25:42 +00:00
Nuno Lopes
88f48476f9
regenerate to fix gcov build. plus use re2c bitvectors
2007-03-23 20:28:40 +00:00
Stanislav Malyshev
10f7bb95e8
fix MOPB-29 - unserialize modifier S does not calculate length correctly
2007-03-23 20:22:52 +00:00
Stanislav Malyshev
0af75d6b1a
fix MOPB-29 - unserialize modifier S does not calculate length correctly
...
# reported by Stefan Esser
2007-03-23 20:15:22 +00:00
Stanislav Malyshev
008259dba8
fix comment - guard system changed
2007-03-23 17:16:55 +00:00
Wez Furlong
cbb0db124b
export the module guy in the external dll version of the build
2007-03-23 14:30:00 +00:00
Dmitry Stogov
6458e42496
Fixed bug #40899 (memory leak when nesting list())
2007-03-23 12:46:16 +00:00
Dmitry Stogov
2dd2ac6d50
Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony)
2007-03-23 07:59:26 +00:00
Ilia Alshanetsky
57a88f71d5
Added -- test case
2007-03-22 23:34:14 +00:00
Douglas Goldstein
4b39efa0ee
Replaced all instances of ldap_get_values() with ldap_get_values_len(), which returns back the length of the data so on non-NULL terminated data we don't crash in a strlen(). Removed the PHP function ldap_get_values() since it's the same thing as ldap_get_values_len() now and made it alias ldap_get_values_len(). This should fix some random PHP<->LDAP crashes
2007-03-22 21:50:34 +00:00
Johannes Schlüter
d95939d566
- MFH: Fix handling of not existing long CLI options
2007-03-22 21:35:41 +00:00
Wez Furlong
76329a99f0
Add php_pdo_sqlite_external.dll to windows build.
...
This allows the user to provide their own version of sqlite3.dll.
The php_pdo_sqlite.dll is still there, and will continue to be there.
It is built from the bundled sources.
[[DOC]]
(this should cc: phpdoc, if it's wrong, please let the docs folks know :-)
2007-03-22 01:00:23 +00:00
Marcus Boerger
68c1c83149
- MFH Fix issue with long form of command line switches
2007-03-21 23:20:21 +00:00
Derick Rethans
b7a791827c
- Revert this patch, as the code was incorrect.
...
- It was also not committed to HEAD.
2007-03-21 09:40:33 +00:00
Ilia Alshanetsky
5abffb51b6
Fixed bug #40861 (Multiple +/- on relative units breaks strtotime()).
2007-03-21 00:25:55 +00:00
Marcus Boerger
4c1c431a38
- MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment
...
of string enclosed integers)
2007-03-20 20:28:08 +00:00
Marcus Boerger
6081c2284e
- MFH Optional dependency for SPL must be specified in header
2007-03-20 20:00:27 +00:00
Antony Dovgal
e8bd8d03b3
BFN
2007-03-20 19:39:27 +00:00
Antony Dovgal
17d89125b2
MFH: fix shmop_open() with IPC_CREAT|IPC_EXCL flags on win32
2007-03-20 17:57:59 +00:00
Dmitry Stogov
3ee54ce924
Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors.
2007-03-20 09:52:14 +00:00
Dmitry Stogov
ef06bfa3ec
Fixed bug #36226 (Inconsistent handling when passing nillable arrays)
2007-03-20 07:51:32 +00:00
Dmitry Stogov
d514bf27a6
Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm.
2007-03-20 06:46:48 +00:00
Ilia Alshanetsky
13aac95bfc
Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for
...
multipart e-mails).
2007-03-19 22:56:57 +00:00
Dmitry Stogov
b0a875104e
Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get())
2007-03-19 18:31:30 +00:00
Antony Dovgal
ddc07c90b6
new test
2007-03-19 08:11:14 +00:00
Edin Kadribasic
e77f670ba0
Make DLL only once (Wez)
2007-03-19 03:15:48 +00:00
Rob Richards
ded5324d49
BFN
2007-03-18 21:31:57 +00:00
Rob Richards
b172d3f8cd
MFH: fix bug #40836 (Segfault in ext/dom)
...
add test
2007-03-18 21:31:05 +00:00
Wez Furlong
ff0864ebac
BFN, #40848
2007-03-18 20:21:43 +00:00
Wez Furlong
16fc958508
fixes #40848
2007-03-18 20:20:23 +00:00
Ilia Alshanetsky
89939e13d6
Fixed MOPB-26-2007 mb_parse_str() can be used to activate register_globals
...
# Discovered by Stefan Esser
2007-03-18 16:36:13 +00:00
Antony Dovgal
8e67ec8225
MFH: fix #40794 (ReflectionObject::getValues() may crash when used with dynamic properties)
2007-03-17 23:00:49 +00:00
Antony Dovgal
722287a538
fix tests
2007-03-17 19:16:17 +00:00
Stanislav Malyshev
7b7dcc89f3
fix spprintf usage
2007-03-16 21:59:23 +00:00
Stanislav Malyshev
d0c229d4cb
clarify
2007-03-16 21:49:56 +00:00
Stanislav Malyshev
b44c524b7c
array_user_key_compare() fix
2007-03-16 19:58:19 +00:00
Stanislav Malyshev
a424d65e0b
add test
2007-03-16 19:55:21 +00:00
Stanislav Malyshev
90eff54400
Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser)
2007-03-16 19:38:58 +00:00
Antony Dovgal
c0aae895c6
BFN
2007-03-16 09:31:20 +00:00
Sebastian Bergmann
d3cb98caf0
Fugbix typo.
2007-03-16 06:41:24 +00:00
Antony Dovgal
6a45f716ae
fix #40805 (Failure executing function ibase_execute())
2007-03-15 22:33:04 +00:00
Antony Dovgal
bfb599b067
BFN
2007-03-15 16:44:35 +00:00
Antony Dovgal
79ed194a64
fix #40815 (using strings like "class::func" and static methods in set_exception_handler() might result in crash)
2007-03-15 16:44:12 +00:00
Antony Dovgal
f6536ed2b2
MFH: remove unnecessary warning in case of exception
2007-03-14 23:47:44 +00:00
Ilia Alshanetsky
7aab16c333
Fixed MOPB-22-2007:PHP session_regenerate_id() Double Free Vulnerability
...
# Discovered by Stefan Esser
2007-03-14 19:37:07 +00:00
Antony Dovgal
f9d54cbb75
MFH: fix #40750 (openssl stream wrapper ignores default_stream_timeout)
2007-03-14 19:22:14 +00:00
Pierre Joye
b85f4d4077
- leak in extract
2007-03-14 16:36:16 +00:00
Pierre Joye
6e074459fc
- add ::open to the safemode check entry
2007-03-14 15:10:37 +00:00
Ilia Alshanetsky
5ed63dd8a9
Fixed a possible memory leak on open_basedir validation
2007-03-14 15:02:20 +00:00
Pierre Joye
fc3a62ed48
- MFH: openbasedir and safemode check in ::open()
2007-03-14 12:06:20 +00:00
Antony Dovgal
6e47537a01
BFN
2007-03-14 11:58:18 +00:00
Antony Dovgal
e5b5f00949
MFH: fix #40800 (cannot disable memory_limit with -1)
2007-03-14 11:58:05 +00:00
Timm Friebe
b9bc7c55d4
- Changed message handler also to handle message #11021
...
- Adjusted expected output
# Seems newer Sybase versions yielf different error codes for getdate(NULL)
2007-03-14 11:57:45 +00:00
Timm Friebe
ca75503c8f
- Fixed segmentation fault in sybase_connect()
...
# This was introduced by changing sprintf -> spprintf and resulted
# from passing a char* to spprintf() instead of a char**
2007-03-14 11:48:49 +00:00
Timm Friebe
142357d445
- Changed expected output
...
# select getdate() returns something like "Mar 14 2007 12:44PM", we
# were checking for one additional (nonexistant) whitespace after "Mar"
# which was wrong. Don`t know when and how this changed
2007-03-14 11:46:06 +00:00
Timm Friebe
d8ed658b78
- Changed expected output
...
# Due to var_export() & __set_state() changes
2007-03-14 11:44:24 +00:00
Pierre Joye
b40b5b5305
- MFH: Fixed possible relative path issues in zip_open in TS mode (old API)
2007-03-14 11:32:25 +00:00
Pierre Joye
1c0b8e6f15
- rename SAFEMODE_CHECKFILE to OPENBASEDIR_CHECKPATH (can be used without
...
confusing in head without confusion)
- Add safemode and open basedir checks in zip:// wrapper (revert Ilia's
patch). Bug found by Stefan Esser in his MOPB-20-2007
2007-03-14 11:08:57 +00:00
Pierre Joye
4f5303ab92
- add more cases for getComment
2007-03-14 11:02:29 +00:00
Martin Kraemer
9c62ddde34
Typo
2007-03-14 09:58:14 +00:00
Ilia Alshanetsky
6d70aa1f4e
Added missing open_basedir & safe_mode checks to zip:// and bzip://
...
wrappers.
Issues idendtified by MOPB-20 and MOPB-21
2007-03-14 03:50:18 +00:00
Stanislav Malyshev
c3e4a2854a
fix odbc resource handling, patch by Dave Lawson
2007-03-13 00:04:38 +00:00
Antony Dovgal
81f99c721b
return false instead of empty string when -length is greater than (len - offset)
2007-03-12 23:42:26 +00:00
Ilia Alshanetsky
c829314963
malloc() -> pemalloc()
2007-03-12 23:21:41 +00:00
Antony Dovgal
165f44c9c3
MFH
2007-03-12 20:55:15 +00:00
Antony Dovgal
5088614ea1
synchronize iconv_substr() behavior with substr()
...
no MFB so far, since substr() changes are not MFBed either
2007-03-12 19:34:26 +00:00
Dmitry Stogov
ab699d03bc
Fixed bug #40770 (Apache child exits when PHP memory limit reached)
2007-03-12 16:59:52 +00:00
Antony Dovgal
ed844bbb3f
BFN
2007-03-12 13:10:55 +00:00
Antony Dovgal
30f45e15de
MFH: fix #40784 (Case sensivity in constructor's fallback)
2007-03-12 13:10:40 +00:00
Dmitry Stogov
1e13ef2de5
Fixed compilation warning
2007-03-12 07:39:01 +00:00
Edin Kadribasic
ff53da7213
Lib upgrade news
2007-03-12 03:10:08 +00:00
Ilia Alshanetsky
f96245f8b4
malloc() -> pemalloc()
2007-03-11 18:42:19 +00:00
Antony Dovgal
80616688db
MFH
2007-03-11 12:56:44 +00:00
Antony Dovgal
e8ede1ec08
fix tests
2007-03-11 12:54:54 +00:00
Ilia Alshanetsky
e82c30c845
Re-added check removed by the previous patch
2007-03-10 20:07:50 +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
Pierre Joye
cb11ba761e
- MFH: CVE-2007-1001, integer overflow with invalid wbmp images
2007-03-10 12:18:36 +00:00
Pierre Joye
547e4760e0
- #40764 , line thickness not respected for horizontal and vertical lines
...
- add test
- NEWS entry
2007-03-10 01:13:19 +00:00
Stanislav Malyshev
1e9fd0f002
add testcase
2007-03-09 18:37:03 +00:00
Dmitry Stogov
c2a71f8eb1
Return HTTP 403 in case of "access denied".
2007-03-09 16:46:07 +00:00
Antony Dovgal
982de65f6e
fix substr()
...
it's perfectly legal to do substr("str", 0, 1000000);
2007-03-09 10:04:59 +00:00
Antony Dovgal
c9ded196b4
fix tests
2007-03-09 09:45:14 +00:00
Ilia Alshanetsky
02fae929af
Fixed bug #40754 (added substr() & substr_replace() overflow checks).
2007-03-09 01:58:34 +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
Rasmus Lerdorf
5b9ec4828f
Off by ! in the url control char check for file:/// urls
2007-03-09 01:20:34 +00:00
Pierre Joye
1286d9e266
- #40764 , line thickness not respected for horizontal and vertical lines
2007-03-09 01:18:40 +00:00
Stanislav Malyshev
0aa13e923b
more fixes
2007-03-08 22:53:37 +00:00
Stanislav Malyshev
6e460bab4e
fix crash/leak in bug #38710
2007-03-08 22:49:53 +00:00
Stanislav Malyshev
c4423ae27d
add news
2007-03-08 22:44:22 +00:00
Nuno Lopes
95391e4f9c
BFN: gd gif reading
2007-03-08 22:04:33 +00:00
Stanislav Malyshev
8779d1cdd3
fix crash on $x['x']['y'] += 1, patch by Brian Shire
2007-03-08 20:59:31 +00:00
Nuno Lopes
5116b67016
fix thread unsafety in the gif reader code (merge from libgd cvs)
2007-03-08 20:24:53 +00:00
Stanislav Malyshev
79195bfe2e
clarify checks and error messages
2007-03-08 00:47:04 +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
Ilia Alshanetsky
8696c9bc89
Improved length parameter validation
2007-03-08 00:18:10 +00:00
Ilia Alshanetsky
42ff70ede8
Improved offset validation
2007-03-08 00:06:41 +00:00
Stanislav Malyshev
2625be4ed0
fix MOPB#14
...
# The error message seems wrong, so maybe better fix is needed
2007-03-07 18:15:46 +00:00
Antony Dovgal
0628f86e0e
fix small typo
...
add --with-zlib-dir option (and simple automagic zlib detection)
2007-03-07 09:36:22 +00:00
Antony Dovgal
c73225ab61
MFH: fix #40727 (segfault in PDO when failed to bind parameters)
2007-03-07 09:03:07 +00:00
Ilia Alshanetsky
0638ac7651
Fixed calloc wrapper
2007-03-07 00:55:49 +00:00
Ilia Alshanetsky
4a614cd6b1
malloc() -> pemalloc()
2007-03-07 00:52:40 +00:00
Ilia Alshanetsky
f6343f45f2
Add checks around raw allocation code
2007-03-07 00:47:42 +00:00
Derick Rethans
d447facb42
- Updated timezone database to version 2007.3. (Derick)
2007-03-06 21:28:37 +00:00
Antony Dovgal
a806ce9700
MFH
2007-03-06 21:08:05 +00:00
Antony Dovgal
a8f076d7a3
use the aliases and eliminate one more compile warning
2007-03-06 21:04:27 +00:00
Antony Dovgal
db8bbdc2a9
MFH: declare zend_mm_random() only when needed
2007-03-06 20:59:13 +00:00
Uwe Schindler
ad336e432a
remove (large) static buffers for header names and request uri
2007-03-06 18:15:25 +00:00
Uwe Schindler
e25bb8ea04
use slprintf instead of snprintf and remove 0termination things (because slprintf is always available now)
2007-03-06 15:43:49 +00:00
Antony Dovgal
cc49ea3a1e
MFH
2007-03-06 10:13:54 +00:00
Ilia Alshanetsky
37da90248d
Added missing allocation checks
2007-03-06 03:15:41 +00:00
Stanislav Malyshev
896abc5e34
use safe_realloc
2007-03-06 02:17:13 +00:00
Stanislav Malyshev
49a7bcd60b
use safe_realloc
2007-03-06 02:10:25 +00:00
Stanislav Malyshev
ec71493b99
use safe_erealloc
2007-03-06 02:03:28 +00:00
Marcus Boerger
331034afbb
- Revert last part and fix issue under windows
2007-03-06 01:19:47 +00:00
Marcus Boerger
3c21c05e43
- And the sizes too
2007-03-06 01:14:38 +00:00
Marcus Boerger
26ebcdfcb9
- More to go
...
# CVS sucks, you cannot mix -D with -r
# However, thanks edin for reminding me that we have mini version tags
# I still prefer subverison. There we don't have any problem of this kind
2007-03-06 01:13:21 +00:00
Marcus Boerger
638ffdb477
- There you go
2007-03-06 01:00:51 +00:00
Marcus Boerger
03bccc1b15
- MFH Revert back to sprintf (we could define snprintf for windows but we don't)
2007-03-06 00:56:42 +00:00
Ilia Alshanetsky
ff3e825083
Fixed bug #40417 (Allow multiple instances of the same named PDO token in
...
prepared statement emulation code).
2007-03-06 00:52:55 +00:00
Stanislav Malyshev
7508066230
fix broken snprintf code
2007-03-06 00:24:00 +00:00
Stanislav Malyshev
d856029c78
use safe_emalloc
2007-03-05 21:54:46 +00:00
Uwe Schindler
f34ec4f606
snprintf patch
2007-03-05 16:29:18 +00:00
andy wharmby
a252c79d53
Fixed bug #35872 (Prevent object store references during RSHUTDOWN)
2007-03-05 15:49:00 +00:00
Michael Wallner
c938da6a97
BFN
2007-03-05 14:10:27 +00:00
Michael Wallner
3db2db7159
- fix ws as requested by derick
2007-03-05 14:10:18 +00:00
Michael Wallner
87b02796d8
- fix bug #40691 : add comparison object handler
2007-03-05 14:05:55 +00:00
Ilia Alshanetsky
ecf4e93630
Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc
...
and MySQL's NDB table handler).
2007-03-04 18:24:49 +00:00
Ilia Alshanetsky
1ac71c4fe9
Fixed bug #40709 (array_reduce() behaves strange with one item stored
...
arrays).
2007-03-04 17:21:16 +00:00
Marcus Boerger
fa29c1a2f5
- Fix copy'n'paste issues
2007-03-04 14:01:06 +00:00
Marcus Boerger
ed359b4529
- MFH simplify, synch docu/implementation
2007-03-04 12:18:02 +00:00
Stanislav Malyshev
2ad036da3a
ik, make it memcpy
2007-03-04 04:38:43 +00:00
Stanislav Malyshev
b2673ab004
fix wrong code
...
# noticed by Stefan Esser
2007-03-04 02:23:47 +00:00
Edin Kadribasic
730a77f19b
Check that manifest file exists before trying to embed it
2007-03-04 00:41:16 +00:00
Edin Kadribasic
285edfcd77
Library update
2007-03-03 23:10:16 +00:00
Marcus Boerger
0ad927dbf2
- MFH A stream wrapper might only allow directory access
2007-03-03 19:01:34 +00:00
Ilia Alshanetsky
e769e1b49e
Fixed bug #40704 (strip_tags() does not handle single quotes correctly)
2007-03-03 15:46:29 +00:00
Marcus Boerger
276aed565e
- The # line does not belong here
2007-03-03 15:18:03 +00:00
Marcus Boerger
e5397c076b
- MFH [DOC] Add SplFileInfo::getBasename(), DirectoryIterator::getBasename
...
- MFH Add SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath()
# All based on suggestions by Arnold Daniels
2007-03-03 15:08:59 +00:00
Ilia Alshanetsky
a500d1efe9
Adjust checks to allow paths without a trailing /
2007-03-03 15:07:31 +00:00
Marcus Boerger
b15d1f22ef
- Catch empty class name error earlier
2007-03-03 13:45:14 +00:00
Edin Kadribasic
7fc3493c8c
Lib upgrade update
2007-03-03 02:06:43 +00:00
Stanislav Malyshev
a0215e9ac4
fix variable name
2007-03-02 22:03:05 +00:00
Stanislav Malyshev
fc35807a38
limit input variable nesting
2007-03-02 22:00:50 +00:00
Stanislav Malyshev
32fb34e2d1
limit nesting level of input variables
2007-03-02 21:58:05 +00:00
Nuno Lopes
f1d075a102
increase the stream_select() timeout, to make the test pass in a slow machine with valgrind
2007-03-02 18:54:13 +00:00
Nuno Lopes
7b37c41384
fix access to non initialized memory (check valgrind reports on http://gcov.php.net )
2007-03-02 18:41:25 +00:00
Antony Dovgal
f87f4a1468
improved test
2007-03-02 09:09:49 +00:00
Ilia Alshanetsky
4735df26f8
Improve safe_mode check
2007-03-02 00:49:47 +00:00
Antony Dovgal
7a069b81d8
new tests
2007-03-01 23:29:38 +00:00
Antony Dovgal
37b4db2d00
allocate descriptors dynamically
2007-03-01 22:27:44 +00:00
Nuno Lopes
e5c4b50127
merge from gd sources: unlock mutex before shuting it down
2007-03-01 18:39:49 +00:00
Antony Dovgal
acd14f802c
MFH
2007-03-01 11:29:43 +00:00
Antony Dovgal
6124bcda0d
MFH: fix #40678 (Cross compilation fails)
2007-03-01 11:23:54 +00:00
Ilia Alshanetsky
416b31ccc9
Fixed bug #40464 (session.save_path wont use default-value when safe_mode
...
or open_basedir is enabled).
2007-03-01 00:01:32 +00:00
Hannes Magnusson
d193017342
Typo
2007-02-28 10:37:07 +00:00
Ilia Alshanetsky
3c27b48662
Fixed typo
2007-02-28 01:10:41 +00:00
Ilia Alshanetsky
a9c4107ee4
Adjust vsnprintf() usage
2007-02-28 01:01:01 +00:00
Ilia Alshanetsky
efad70c2cc
snprintf() -> slprintf()
2007-02-27 03:28:17 +00:00
Ilia Alshanetsky
cc04404b28
snprintf() -> slprintf()
...
# Part 1
2007-02-27 03:04:40 +00:00
Ilia Alshanetsky
1d08a8d157
Fixed bug #40637 (Regression in strip_tags() in relation so quote handling)
2007-02-27 00:15:21 +00:00
Antony Dovgal
c667c70bdb
fix typo
2007-02-26 17:47:21 +00:00
Dmitry Stogov
8ae520d0b5
Fixed tests
2007-02-26 16:19:56 +00:00
Antony Dovgal
f7e434969a
MFH: remind about 'make test'
2007-02-26 14:51:44 +00:00
Antony Dovgal
e07b611b10
fix folding
2007-02-26 14:11:34 +00:00
Rob Richards
796d5ee3ab
MFH: fix win build
2007-02-26 12:38:34 +00:00
Antony Dovgal
ad8c94d8cc
fix
...
the sprintf() -> zend_spprintf() change affected this
2007-02-26 12:08:12 +00:00
Antony Dovgal
7939691523
fix ws/cs and make the ugly code less ugly..
2007-02-26 12:05:52 +00:00
Antony Dovgal
666370d7ee
add new test
2007-02-26 09:58:04 +00:00
Dmitry Stogov
94d7b8b004
poll() is not affected by FD_SETSIZE (Tony)
2007-02-26 09:38:44 +00:00
Ilia Alshanetsky
58c167168d
Revert previous commit that caused a buffer overflow (Bug #40634 )
2007-02-26 02:12:36 +00:00
Antony Dovgal
fb3a3b72f1
MFH: do not allow db without fields
2007-02-25 23:17:12 +00:00
Antony Dovgal
b42addcc54
MFH: zerofill socket structs
2007-02-25 22:59:32 +00:00
Nuno Lopes
d3ddf47718
update pcre symbols list
2007-02-25 18:47:21 +00:00
Dmitry Stogov
c373324692
Fixed bug #40591 (list()="string"; gives invalid opcode)
2007-02-25 16:02:43 +00:00
Dmitry Stogov
015a5655df
Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry)
2007-02-25 13:19:29 +00:00
Marcus Boerger
255c6a71d7
- MFH Readability
2007-02-25 13:09:13 +00:00
Pierre Joye
dfeff9efe6
- sync with libgd.org, patch from Kees Cook
2007-02-25 02:45:06 +00:00
Rasmus Lerdorf
7b80d01aa3
Fix test
2007-02-24 22:02:16 +00:00
Antony Dovgal
914b64dd4f
BFN
2007-02-24 21:30:56 +00:00
Antony Dovgal
e058ba92f9
MFH: fix #40621 (Crash when constructor called inappropriately (statically))
2007-02-24 21:30:48 +00:00
Marcus Boerger
1345740fa5
- Add [v]slprintf to overcome the returnvalues issue of snprintf
2007-02-24 18:20:46 +00:00
Ilia Alshanetsky
3588f9eed6
missing -1
2007-02-24 18:02:11 +00:00
Ilia Alshanetsky
9783f5f1f3
strncpy() -> strlcpy()
2007-02-24 18:00:56 +00:00
Ilia Alshanetsky
9651aeaf78
Pad to given length, not replace data with spaces
2007-02-24 17:57:57 +00:00
Ilia Alshanetsky
afa4b732c5
Eliminate strncpy and simplify code
2007-02-24 17:40:45 +00:00
Ilia Alshanetsky
27c6f40783
Eliminate strncpy() and simplify code
2007-02-24 17:18:24 +00:00
Ilia Alshanetsky
34928eeeca
strncpy > strlcpy
2007-02-24 17:16:23 +00:00
Ilia Alshanetsky
0ccf1cf9ce
Only do size check on create operations
2007-02-24 16:36:56 +00:00
Ilia Alshanetsky
f4a8180f65
Fixed snprintf() usage
2007-02-24 16:23:10 +00:00
Ilia Alshanetsky
a2a55daf21
Segment size validation
2007-02-24 15:50:54 +00:00
Ilia Alshanetsky
1b8a85415d
Fixed Bug #39396 (stream_set_blocking crashes on Win32).
2007-02-24 15:48:40 +00:00
Ilia Alshanetsky
e4ff13e43e
Unify validation of shm segment size inside shm_attach()
2007-02-24 15:44:43 +00:00
Ilia Alshanetsky
44aefd1ea0
Fixed test to work with new version of libtidy that strips spaces
2007-02-24 15:35:04 +00:00
Marcus Boerger
24fa61e202
- Drop superflous efree
2007-02-24 14:53:50 +00:00
Marcus Boerger
d2c343a3df
- Fix spprintf usage
2007-02-24 14:33:50 +00:00
Marcus Boerger
1b1c62d708
- Make debug code really safe
2007-02-24 14:28:09 +00:00
Dmitry Stogov
0caa2be91f
Use poll() instead of select() if available
2007-02-24 11:20:43 +00:00
Ilia Alshanetsky
0763686034
strdup() can fail
2007-02-24 03:24:40 +00:00
Stanislav Malyshev
698f114ddc
use safe allocations
2007-02-24 03:08:05 +00:00
Ilia Alshanetsky
6223b18134
Fixed a typo
2007-02-24 02:59:58 +00:00
Stanislav Malyshev
b415e3da5a
Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005
...
Fortunately, we don't need it here too badly.
2007-02-24 02:50:58 +00:00
Stanislav Malyshev
33956fc358
fix typo
2007-02-24 02:45:24 +00:00
Stanislav Malyshev
b107f3bfbe
fix typos
2007-02-24 02:43:53 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Stanislav Malyshev
3e262bd369
disallow negative length
2007-02-24 01:18:14 +00:00
Sara Golemon
c3935671cd
MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries
2007-02-23 23:09:14 +00:00
Stanislav Malyshev
59bcd2372d
use strlcat
2007-02-23 22:08:31 +00:00
Stanislav Malyshev
b40c94194f
use strlcat
2007-02-23 22:05:46 +00:00
Stanislav Malyshev
4019bf5370
use snprintf
2007-02-23 21:45:00 +00:00
Stanislav Malyshev
e894206874
use snprintf
2007-02-23 21:38:25 +00:00
Stanislav Malyshev
43aa661c5e
increase array size to fit buffer size
2007-02-23 21:14:52 +00:00
Antony Dovgal
fa513e74ce
MFH: fix leak
2007-02-23 20:51:02 +00:00
Stanislav Malyshev
9d3e446d80
use safe_emalloc
2007-02-23 20:40:55 +00:00
Antony Dovgal
f3a9413b28
MFH: fix #40606 (umask is not being restored when request is finished)
2007-02-23 16:22:20 +00:00
Rob Richards
db19c74cfe
BFN
2007-02-23 11:15:08 +00:00
Rob Richards
7846ed2e84
fix bug #40598 (libxml segfault)
2007-02-23 11:12:49 +00:00
Pierre Joye
b5e6c78eda
- #40578 , fix the 2nd race condition on shutdown when the cache is freed
2007-02-23 00:58:49 +00:00
Ilia Alshanetsky
a471f75354
Simplify code by converting emalloc() + sprintf() to spprintf()
2007-02-23 00:37:36 +00:00
Antony Dovgal
e0a7362646
MFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented)
...
patch by stas at FreeBSD dot org
2007-02-22 23:40:39 +00:00
Marcus Boerger
e3d786be4e
- MFH Fix logic
2007-02-22 23:26:03 +00:00
Nuno Lopes
d94e388d74
fix test on ultra-fast-machines and/or SOs with long time slices
...
# Thanks Tony
2007-02-22 11:48:14 +00:00
Antony Dovgal
dfbc224555
MFH
2007-02-22 10:06:22 +00:00
Dmitry Stogov
f027aef074
Fixed possible crash in putenv() on win32
2007-02-22 08:23:17 +00:00
Ilia Alshanetsky
609ecbfc37
One more strcpy. (Thanks Stas)
2007-02-22 00:44:08 +00:00
Ilia Alshanetsky
06e5bc9ea2
strcpy() elimination
2007-02-22 00:25:38 +00:00
Antony Dovgal
e1fe2c9165
MFH
2007-02-21 22:08:08 +00:00
Antony Dovgal
4a95928d1d
MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks
2007-02-21 21:57:21 +00:00
Stanislav Malyshev
2a019a14bf
use snprintf
2007-02-21 21:08:58 +00:00
Antony Dovgal
26fac39d5e
fix test
2007-02-21 19:57:15 +00:00
Antony Dovgal
7255b4b953
fix tests on AIX
2007-02-21 19:52:20 +00:00
Antony Dovgal
905491d6c9
wrong string len
2007-02-21 19:36:20 +00:00
Antony Dovgal
d162a8fb9e
add test for 64bit arch
2007-02-21 19:35:15 +00:00
Antony Dovgal
a2a682975c
fix test
2007-02-21 19:27:37 +00:00
Antony Dovgal
22a866818b
fix test
2007-02-21 19:22:28 +00:00
Nuno Lopes
4f3150c350
use /usr/bin/nohup instead
2007-02-21 16:25:37 +00:00
Nuno Lopes
6be4ea4d97
fix gcov build (#line stuff)
2007-02-21 16:08:18 +00:00
Dmitry Stogov
2b5e7d315f
Check for FD_SETSIZE limit
2007-02-21 15:46:13 +00:00
Antony Dovgal
94bab7b206
MFH: fix #40578 (imagettftext() multithreading issue)
2007-02-21 15:00:26 +00:00
Antony Dovgal
bccae9a134
MFH: fix #40576 (double values are truncated to 6 decimal digits when encoding)
2007-02-21 14:25:27 +00:00
Dmitry Stogov
149dd625be
Special case for last iteration
2007-02-21 14:11:00 +00:00
Dmitry Stogov
d4ccfade57
Fixed bug #40560 (DIR functions do not work on root UNC path)
2007-02-21 13:09:03 +00:00
Ilia Alshanetsky
6b253ae064
Improve redirect validation
2007-02-21 04:29:15 +00:00
Ilia Alshanetsky
5ecffe6eb5
Use strlcpy() rather then strcpy()
2007-02-21 03:59:05 +00:00
Stanislav Malyshev
462d545a63
fix putenv - if there was no previous, remove variable from environ
2007-02-21 03:03:37 +00:00
Stanislav Malyshev
31a325823a
Cosmetic fix - safe_emalloc(nmemb, size, offset)
2007-02-21 01:13:44 +00:00
Stanislav Malyshev
a72041406b
CreateInstance requires BSTR (should fix #33188 )
2007-02-21 01:11:11 +00:00
Stanislav Malyshev
47e06ea821
fix unallocated free
2007-02-20 20:30:36 +00:00
Antony Dovgal
43d788ec33
MFH: move PHP_TEST_WRITE_STDOUT to acinclude.m4 and use it in configure.in
2007-02-20 20:11:11 +00:00
Antony Dovgal
748b6fdeb3
MFH: make use of startup hooks
2007-02-20 19:20:41 +00:00
Antony Dovgal
180baf0109
MFH: fix leak and errmsg
...
add test
2007-02-20 14:08:43 +00:00
Antony Dovgal
e7544f28b8
MFH: fix #38406 (crash when assigning objects to SimpleXML attributes)
2007-02-20 13:22:41 +00:00
Marcus Boerger
2db70cb520
- BFN
2007-02-20 13:09:54 +00:00
Marcus Boerger
f44b63c57f
- Make stat based functions throw an exception
2007-02-20 13:08:01 +00:00
Antony Dovgal
6ba2491d37
BFN
2007-02-20 12:01:40 +00:00
Antony Dovgal
8185f4550e
MFH: fix #40545 (multithreading issue in zend_strtod())
2007-02-20 12:00:58 +00:00
Ilia Alshanetsky
03e5b080a3
Upgraded SQLite 3 library to version 3.3.13
2007-02-20 00:09:43 +00:00
Ilia Alshanetsky
c6402df3a7
Eliminate strcat() usage.
2007-02-19 23:53:00 +00:00
Ilia Alshanetsky
9ae588dfb1
Fixed strlcat() usage.
...
# Thanks Andi
2007-02-19 23:52:13 +00:00
Marcus Boerger
ba4cbbaf69
- Bugfix #40546 : SplFileInfo::getPathInfo() throws an execption if directory is in root dir.
2007-02-19 20:34:29 +00:00
Antony Dovgal
19c517938e
MFH: check SQLError() return value and output a meaningful errmsg when it fails
2007-02-19 20:22:38 +00:00
Antony Dovgal
13ca6ed9fa
MFH: fix heap protection on SPARC, required by GCC4
...
patch by Dmitry
2007-02-19 18:29:31 +00:00
Edin Kadribasic
8f5907fe96
Info on new lib versions and BFN
2007-02-19 17:32:54 +00:00
Dmitry Stogov
955d3e73e8
typo
2007-02-19 17:29:19 +00:00
Edin Kadribasic
f31b3b497d
Fixed bug #40371
2007-02-19 17:26:15 +00:00
Marcus Boerger
58c77d3925
- MFH CachingIterator implements Countable
2007-02-19 16:18:24 +00:00
Edin Kadribasic
fee1ef3463
Fixed bug #36496
2007-02-19 16:03:42 +00:00
Dmitry Stogov
f49d044cee
On win32 directories in the middle of the patch may be unreadable
2007-02-19 14:58:07 +00:00
Dmitry Stogov
2a170f0584
Initialize "retval" on each request
2007-02-19 14:13:02 +00:00
Dmitry Stogov
7c77611057
Fixed fcgi_putenv() semantic with NULL value
2007-02-19 13:21:14 +00:00
Antony Dovgal
772e35e99a
MFH: fix test
2007-02-19 12:19:44 +00:00
Ilia Alshanetsky
26214fc15f
Eliminate strcat() usage
...
Fixed handling of argv[] for GET
2007-02-18 18:08:22 +00:00
Ilia Alshanetsky
7605d10252
PQfreemem checks
2007-02-18 17:05:53 +00:00
Ilia Alshanetsky
5e274ea47d
Fixed bug #40503 (json_encode() value corruption on 32bit systems with
...
overflown values).
2007-02-18 16:54:59 +00:00
Stanislav Malyshev
05584eb55a
use safer functions, check error value
2007-02-17 01:45:52 +00:00
Antony Dovgal
704b191d6a
fix typo
2007-02-16 23:49:48 +00:00
Stanislav Malyshev
8edc9018db
use error message size
2007-02-16 18:48:53 +00:00
Stanislav Malyshev
1fd2039fdd
fix snprintf size
...
#-1 is not needed
2007-02-16 18:32:38 +00:00
Stanislav Malyshev
f1728950fe
increase hebdate buffer, use snprintf
2007-02-16 18:24:16 +00:00
Stanislav Malyshev
624dd135a8
fix typo
2007-02-16 18:10:36 +00:00
Stanislav Malyshev
4274449a02
add safe_realloc
2007-02-16 18:06:28 +00:00
Dmitry Stogov
a3493bd3de
Optimize out RINIT()
2007-02-16 16:35:04 +00:00
Antony Dovgal
01058e9770
fix possible double free
2007-02-16 13:28:03 +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
Dmitry Stogov
780c66d14b
Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed)
2007-02-16 11:30:03 +00:00
Antony Dovgal
9208d250c2
MFH
2007-02-16 11:08:22 +00:00
Dmitry Stogov
574630190e
Allow C++ extensions to use CG(), EG() ... (Caroline)
2007-02-16 08:54:17 +00:00
Dmitry Stogov
b6a2b760dc
Fixed zend_llist_remove_tail (Michael Wallner)
2007-02-16 08:33:28 +00:00
Ilia Alshanetsky
4a33a63ab6
Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump).
2007-02-16 03:41:56 +00:00
Ilia Alshanetsky
ee17c54d88
Reduce stack usage & improve boundary checks
2007-02-16 03:32:06 +00:00
Nuno Lopes
14a6567f09
fix build on cygwin with windows-style EOLs
2007-02-15 20:52:50 +00:00
Nuno Lopes
fd7d6a6f0a
fix cvsclean on cygwin with windows-style EOLs
2007-02-15 20:42:24 +00:00
Antony Dovgal
286dee8100
MFH
2007-02-15 19:11:48 +00:00
Dmitry Stogov
ea278e8566
Fixed memory leak
2007-02-15 17:01:29 +00:00
Dmitry Stogov
2cf92f365a
Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice include minOccurs=0)
2007-02-15 14:48:12 +00:00
Dmitry Stogov
a79d74b694
Fixed bug #40414 (possivle endless fork() loop when running fastcgi)
2007-02-15 12:33:16 +00:00
Dmitry Stogov
12bbbf022f
Fixed Bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost)
2007-02-15 12:04:59 +00:00
Dmitry Stogov
0291ad5fa6
Fixed bug #40236 (php -a function allocation eats memory)
2007-02-15 10:38:28 +00:00
Ilia Alshanetsky
b997390e1d
use constant
2007-02-15 01:40:36 +00:00
Ilia Alshanetsky
ed6725c695
Improved validation route for size parameter of the mcrypt_create_iv()
...
function.
2007-02-15 01:15:45 +00:00
Ilia Alshanetsky
f8958c466d
Fixed a possible memory corruption inside mime_content_type() on a
...
non-existent file.
2007-02-15 00:05:42 +00:00
Derick Rethans
e254f976fb
- MFH: Clarify the source of the timezone data.
2007-02-14 19:35:09 +00:00
Nuno Lopes
d446564786
Fixed bug #39322 (proc_terminate() destroys process resource)
2007-02-14 19:13:31 +00:00
Andi Gutmans
71645e8c4f
- Give Dmitry credit for all the FastCGI work
2007-02-14 08:12:27 +00:00
Ilia Alshanetsky
fc49f98e6a
Make sure p is not pointing to the start of the buffer
2007-02-13 23:55:20 +00:00
Ilia Alshanetsky
a92ef5e0dc
Fixed a memory leak on highlight_file() with a non-existant file
2007-02-13 23:39:14 +00:00
Antony Dovgal
32c2c7a510
MFH
2007-02-13 20:19:56 +00:00
Ilia Alshanetsky
2e35bdc5e9
Fixed a memory leak inside imap_utf8()
2007-02-13 20:12:52 +00:00
Nuno Lopes
9cc85b6030
Fixed bug #34794 (proc_close() hangs when used with two processes)
2007-02-13 19:53:42 +00:00
Antony Dovgal
c8a4b13638
MFH: improve php_userstreamop_seek()
2007-02-13 19:50:59 +00:00
Nuno Lopes
3d65d6d8d9
Fixed bug #37799 (ftp_ssl_connect() falls back to non-ssl connection)
2007-02-13 18:29:10 +00:00
Antony Dovgal
dc9e17faf3
fix #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir is set)
2007-02-13 15:55:45 +00:00
Antony Dovgal
29a9ba9639
new/improved tests
2007-02-13 12:59:53 +00:00
Antony Dovgal
60c435df5e
MFH
2007-02-13 12:56:36 +00:00
Antony Dovgal
a9ed150a74
fix .cvsignore's
2007-02-13 10:07:39 +00:00
Ilia Alshanetsky
103b8c33c0
Fixed bug #40432 (strip_tags() fails with greater than in attribute).
2007-02-13 02:16:22 +00:00
Marcus Boerger
e19f55bb82
- MFH Drop useless stuff
2007-02-13 00:32:32 +00:00
Marcus Boerger
5026a9fd83
- MFH Add new example
2007-02-13 00:19:00 +00:00
Antony Dovgal
2c31b1e194
fix #40451 (addAttribute() may crash when used with non-existent child node)
2007-02-12 21:06:29 +00:00
Antony Dovgal
cce7545d18
upgrade to new parameter parsing API
...
+ mostly ws/cs fixes, sort of MFH
2007-02-12 20:40:11 +00:00
Antony Dovgal
511463854b
MFH: fix #40109 (iptcembed fails on non-jfif jpegs)
2007-02-12 20:30:52 +00:00
Antony Dovgal
634615cd42
MFH: fix tests
2007-02-12 14:49:05 +00:00
Antony Dovgal
796080d8c4
MFH: add separate IPv6 test
2007-02-12 14:43:00 +00:00
Antony Dovgal
b877bb70de
MFH: fix pcre tests
2007-02-12 14:22:19 +00:00
Antony Dovgal
8e49f0c54c
MFH
2007-02-12 09:36:23 +00:00
Antony Dovgal
23d484ff2b
fix news entry
2007-02-12 08:57:41 +00:00
Ilia Alshanetsky
c92668e768
Fixed a memory leak inside readline_completion_function() on non-callable
...
callback.
2007-02-12 01:23:17 +00:00
Antony Dovgal
45c0253f2c
add test
2007-02-11 20:56:46 +00:00
Antony Dovgal
f9a9eda86c
MFH
2007-02-11 20:12:53 +00:00
Antony Dovgal
77d93ee6b3
fix test
2007-02-11 20:06:19 +00:00
Nuno Lopes
8b9f475ac6
merge the tidyNode::getParent() patch from HEAD
2007-02-11 16:07:30 +00:00
Pierre Joye
18e4a7aacb
- Fixed bug #40428 , imagepstext() doesn't accept optional parameter
...
(Pierre)
2007-02-11 11:11:48 +00:00
Antony Dovgal
9d26a78f6a
MFH
2007-02-11 09:25:32 +00:00
Antony Dovgal
9c100b20e6
MFH
2007-02-10 20:52:42 +00:00
Nuno Lopes
1bd4f5bef4
fix gcov build (#line directives)
2007-02-10 20:26:09 +00:00
Antony Dovgal
7b12fd5492
MFH
2007-02-10 00:50:38 +00:00
Nuno Lopes
da9f515648
new test to keep track of the reported pcre regression
2007-02-09 20:00:17 +00:00
Nuno Lopes
b3e66c616d
upgrade pcre to version 7.0
2007-02-09 19:48:47 +00:00
Antony Dovgal
e6d69595af
BFN
2007-02-09 10:15:56 +00:00
Antony Dovgal
2024ec6e2a
MFH: fix #40410 (ext/posix does not compile on MacOS 10.3.9)
2007-02-09 10:15:46 +00:00
Ilia Alshanetsky
d35449bbfb
Upgraded SQLite 3 to version 3.3.12
2007-02-09 03:17:47 +00:00
Marcus Boerger
7aa2282124
- MFH Add include
2007-02-08 22:54:34 +00:00
Marcus Boerger
ac3b5ebbde
- MFH Rearrange code: mode Countable from spl_array.c to spl_iterator.c
2007-02-08 22:17:40 +00:00
Marcus Boerger
1d1ea0b2ca
- MFH: Fix Bug #39836 SplObjectStorage empty after unserialize
2007-02-08 22:14:25 +00:00
Marcus Boerger
38201d8d12
- MFH php --ri <extension>
2007-02-08 16:55:34 +00:00
Nuno Lopes
a875e10909
convert all ereg*() calls to preg_match(), so that we become future-proof (ereg is scheduled for removal in PHP 6)
2007-02-08 15:22:03 +00:00
Marcus Boerger
3bd74e422a
- MFH Add new test
2007-02-08 08:44:51 +00:00
Ilia Alshanetsky
d4dd117d7f
Remove already done item from the todo
2007-02-08 02:10:24 +00:00
Antony Dovgal
323467f9c9
add test
2007-02-07 21:13:01 +00:00
Antony Dovgal
ffe3e65ac0
fix MFHed segfault
2007-02-07 21:07:31 +00:00
Marcus Boerger
6ded8042b9
- MFH Fix memleak with temp dir
2007-02-07 21:01:06 +00:00
Marcus Boerger
ee3226e50e
- MFH options/exports
2007-02-07 20:59:59 +00:00
Nuno Lopes
3fdab070a9
MFH: use getenv() instead of _ENV
...
enable multiple error reporting on the same test
2007-02-07 11:31:22 +00:00
Antony Dovgal
ed7c89cc03
MFH: check if GCC on MacOS supports -no-cpp-precomp before using it
2007-02-07 11:16:52 +00:00
Antony Dovgal
0f0fe9c967
MFH: new tests
2007-02-07 11:10:32 +00:00
Ilia Alshanetsky
3f8e222ab3
Back to dev
2007-02-07 01:01:37 +00:00
Ilia Alshanetsky
ee626ccb51
5.2.1
2007-02-07 00:45:04 +00:00
Ilia Alshanetsky
629d7cf43f
Fixed Bug #40274 (Sessions fail with numeric root keys).
2007-02-06 00:01:18 +00:00
Andrei Zmievski
871fb78154
Update ! docs.
2007-02-05 17:57:51 +00:00
Andi Gutmans
a11e0b5ef1
- Make sure to be ANSI C compliant
2007-02-05 05:15:16 +00:00
Frank M. Kromann
b436ad2af5
#39213
...
Fix for '' returned as ' '.
This only works with FreeTDS as microsofts library returns a length of 1 for an empty string!
2007-02-04 21:19:37 +00:00
Frank M. Kromann
850998256c
Fix win32 build
2007-02-04 00:21:51 +00:00
Marcus Boerger
0709a0490f
- MFH Add PHPAPI to stuff needed by streams API for shared exts
...
- MFH Readonly issue fix to memory streams option handling (still not
activated in 5.2.1 though)
2007-02-03 16:40:05 +00:00
andy wharmby
74cafe0840
Fixed bug #37927 (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF)
2007-02-02 15:44:06 +00:00
andy wharmby
cda82bc0a3
Fixed bug #34564 (COM extension not returning modified "out" argument)
2007-02-02 15:27:35 +00:00
Ilia Alshanetsky
a8c006235c
Better generated parser
2007-02-02 00:03:33 +00:00
Ilia Alshanetsky
79dfb302b1
Fixed test mixup
2007-02-02 00:00:33 +00:00
Dmitry Stogov
44297ddea8
Removed dead code
2007-02-01 16:23:28 +00:00
Dmitry Stogov
ed30d91cd6
Fixed possible crash because of dereference of NULL
2007-02-01 15:23:46 +00:00
Dmitry Stogov
009f5a3937
Enable canary protection in DEBUG mode only.
2007-02-01 15:08:10 +00:00
Antony Dovgal
c313af32a9
MFH
2007-02-01 14:21:01 +00:00
Antony Dovgal
0c84a4d927
MFH: free class_name when necessary
2007-02-01 14:07:43 +00:00
Antony Dovgal
6e8654aae1
plug leak
2007-02-01 14:02:35 +00:00
Antony Dovgal
82f70c9493
fix leaks on error
2007-02-01 13:45:25 +00:00
Ilia Alshanetsky
c219c6f4a8
Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in
...
some instances).
2007-02-01 00:12:39 +00:00
Antony Dovgal
56bb90399e
BFN
2007-01-31 13:57:58 +00:00
Antony Dovgal
cdaff68610
MFH: improve tests
2007-01-31 13:56:16 +00:00
Antony Dovgal
4f6f150490
MFH: fix segfault on rebindinging and rexecuting a statement with LOBs
...
fix compile failure in ZTS mode when collections support is missing
2007-01-31 13:55:43 +00:00
Ilia Alshanetsky
9eb6d36c39
Prepare news file for release
2007-01-30 01:27:29 +00:00
Rui Hirokawa
693c9a7d2c
fixed incompatibility with PHP 5.2.0 for encoding conversion between ShiftJIS(CP932), eucJP, ISO-2022-JP.
2007-01-29 22:53:47 +00:00
Dmitry Stogov
d44cb7fa7b
Prevent flush of closed handle on php_module_shutdown()
2007-01-29 19:36:01 +00:00
Pierre Joye
3265d023a4
- #40228
2007-01-29 15:25:35 +00:00
Pierre Joye
601a77b3a3
- #40228 , ZipArchive::extractTo does create empty directories
...
recursively
2007-01-29 15:25:06 +00:00
Dmitry Stogov
52f6312866
Fixed bug #40259 (ob_start call many times - memory error). (Dmitry)
2007-01-29 11:21:31 +00:00
Antony Dovgal
58e96c4c10
nullify param.parameter and avoid destroying it twice
2007-01-27 21:53:26 +00:00
Marcus Boerger
0903f26151
- Disable memory streams set option until 5.2.2
2007-01-27 20:31:51 +00:00
Marcus Boerger
d10beb67c3
- MFH truncate support for mem/temp streams
2007-01-27 20:25:11 +00:00
Antony Dovgal
c98dcd5a21
use length - 1 when we fetch it from hashes
2007-01-26 15:33:18 +00:00
Dmitry Stogov
cb443c6e5a
Fixed bug #40231 (file_exists incorrectly reports false)
2007-01-26 15:15:16 +00:00
Antony Dovgal
c5732112a9
fix leak
...
readuce size of the buffer to prevent ORA-01461
2007-01-26 15:07:45 +00:00
Ilia Alshanetsky
7c166ddf86
Back to dev
2007-01-26 00:21:20 +00:00
Ilia Alshanetsky
15bcf9e38e
5.2.1RC4
2007-01-26 00:15:03 +00:00
Antony Dovgal
46baad774f
add package2.xml
2007-01-25 16:55:40 +00:00
Antony Dovgal
40ca697a67
add missing ifdefs
2007-01-25 14:38:45 +00:00
Antony Dovgal
4cb734b05f
setlocale() returns static buffer, which must be copied
2007-01-25 13:37:04 +00:00
Antony Dovgal
0bc0e57b85
MFH: fix #40189 (possible endless loop in zlib.inflate stream filter)
2007-01-25 12:22:21 +00:00
Antony Dovgal
de3c2038af
PHP4 compatibility
2007-01-25 09:31:23 +00:00
Rasmus Lerdorf
49dbf804ad
Fix typo
2007-01-25 06:12:58 +00:00
Ilia Alshanetsky
49c0823800
Added safety checks to the code
2007-01-25 00:27:19 +00:00
Ilia Alshanetsky
094a5717b1
Eliminate strcat() and strcpy()
2007-01-25 00:26:51 +00:00
Antony Dovgal
93951f1931
prepare to release 1.2.3
2007-01-24 14:34:13 +00:00
Ilia Alshanetsky
eb6b99d7df
strcat() -> strlcat()
2007-01-24 00:45:54 +00:00
Antony Dovgal
d32dc5bda0
MFH
2007-01-24 00:33:51 +00:00
Nuno Lopes
a2b7b84685
add test
2007-01-23 19:26:24 +00:00
Nuno Lopes
8e8b369bc2
fix a few crashes
2007-01-23 19:23:29 +00:00
Dmitry Stogov
1ef02490c3
Fixed bug #40200 (The FastCgi version has different realpath results than thread safe version)
2007-01-23 18:14:52 +00:00
Dmitry Stogov
dfa95b718f
Fixed wrong realpath() result for unexistent files on win32
2007-01-23 17:03:48 +00:00
Hannes Magnusson
14fb4afd5c
Fix typo
2007-01-23 12:37:21 +00:00
Ilia Alshanetsky
17864fc3e9
emalloc() -> safe_emalloc()
2007-01-23 00:23:17 +00:00
Antony Dovgal
725217571e
fix PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB fields)
2007-01-22 12:49:22 +00:00
Dmitry Stogov
933c26de41
Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
...
Fixed bug #40092 (chroot() doesn't clear realpath cache)
2007-01-22 09:31:46 +00:00
Antony Dovgal
a4ae84d014
MFH
2007-01-22 09:08:28 +00:00
Antony Dovgal
b24fd9a3d6
fix test
2007-01-22 08:55:47 +00:00
Antony Dovgal
78e610b4f9
fix classname
2007-01-22 08:36:21 +00:00
Antony Dovgal
eae1072ccc
MFH
2007-01-22 08:21:57 +00:00
Antony Dovgal
2c36778e47
MFH: fix #40191 (use of array_unique() with objects triggers segfault)
2007-01-22 08:17:26 +00:00
Ilia Alshanetsky
8ddcd35d17
Fixed typos
2007-01-21 19:52:44 +00:00
Marcus Boerger
8ed3a86161
- MFH Add *.mem
2007-01-21 13:05:32 +00:00
Marcus Boerger
d2c8a3bb63
- Add tests
2007-01-21 12:30:19 +00:00
Antony Dovgal
d2c5721f41
MFH: catch overflow right away
2007-01-20 23:10:02 +00:00
Ilia Alshanetsky
9bf088ce36
Fixed bug #39450 (getenv() fills other super-globals).
2007-01-20 22:16:24 +00:00
Antony Dovgal
1b002cf39f
use getenv()
2007-01-20 22:12:55 +00:00
Rob Richards
75fdefba0c
MFH: fix accessing public key from x509 resource
...
add test
fix test under win32
2007-01-20 22:08:29 +00:00
Antony Dovgal
6bef5f8e80
typo in the test name
2007-01-20 19:19:29 +00:00
Ilia Alshanetsky
a719e16f7c
CS
2007-01-20 16:22:51 +00:00
Nuno Lopes
65975bfc15
new tests. bump code coverage to 81%
2007-01-20 12:50:19 +00:00
Nuno Lopes
4b8911d062
fix another crash
2007-01-20 12:49:35 +00:00
Nuno Lopes
f3f2d827db
fix crash. tests will follow
2007-01-20 12:27:18 +00:00
Antony Dovgal
216d041717
MFH
2007-01-19 22:33:25 +00:00
Antony Dovgal
d291b4351e
MFH
2007-01-19 21:00:35 +00:00
Antony Dovgal
4c6e1df9e2
MFH: improve utf8_mime2text() signature detection
2007-01-19 20:45:09 +00:00
Antony Dovgal
a5f3e15114
MFH
2007-01-19 19:43:30 +00:00
Nuno Lopes
3e45bc0a51
update install instructions from phpdoc XMl sources
2007-01-19 19:25:02 +00:00
Nuno Lopes
d27d7619be
fix segfaults with new libtidy. the patch is backwards compatible
2007-01-19 18:50:26 +00:00
Antony Dovgal
7e74ff0ff1
MFH
2007-01-19 18:03:33 +00:00
Antony Dovgal
504e9e31f3
MFH: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2)
2007-01-19 15:38:51 +00:00
Pierre Joye
4dafc7a2fa
- save/restore the alpha blending mode correctly in imagefill and
...
imagefilltoborder
2007-01-19 15:03:56 +00:00
Antony Dovgal
ebd7c13e8b
MFH: fix #40168
2007-01-19 14:50:11 +00:00
Ilia Alshanetsky
aeddf73dc4
Fix win32 build
2007-01-19 00:17:43 +00:00
Ilia Alshanetsky
5500a08ba3
Back to dev
2007-01-19 00:13:49 +00:00
Ilia Alshanetsky
cbd3a64136
5.2.1RC3
2007-01-19 00:03:21 +00:00
Ilia Alshanetsky
ef3fcf2894
Added read-timeout context option "timeout" for HTTP streams.
...
# A patch mostly by Hannes
2007-01-19 00:02:13 +00:00
Ilia Alshanetsky
55eef07a71
Old bug fixing news
2007-01-18 23:29:34 +00:00
Ilia Alshanetsky
4383f51c44
Syntax highlighting fix for hex numbers.
...
# Patch by Matt Wilmas
2007-01-18 23:28:08 +00:00
Ilia Alshanetsky
6f98a771e6
Fixed bug #39993 (tr_TR.UTF-8 locale has problems with PHP).
2007-01-18 23:20:24 +00:00
Antony Dovgal
84a827e0d4
MFH
2007-01-18 16:21:32 +00:00
Nuno Lopes
58d4b44ae7
only 2 bits are needed for shutdown(2) method (only 3 possible values). this is new code in 5.2.1, so don't worry..
2007-01-18 16:05:48 +00:00
Antony Dovgal
5f12c71382
MFH
2007-01-18 15:55:09 +00:00
Antony Dovgal
05c11fdfb2
MFH
2007-01-18 15:41:01 +00:00
Antony Dovgal
c592304ac0
MFH: use snprintf()
2007-01-18 15:29:30 +00:00
Antony Dovgal
e506abc408
MFH: improve check configure for new version of utf8_mime2text()
2007-01-18 14:05:21 +00:00
Antony Dovgal
04add4c727
MFH: use strlcat()
2007-01-18 14:03:38 +00:00
Antony Dovgal
5a23201d82
moved ext/informix to PECL
2007-01-18 12:28:10 +00:00
Antony Dovgal
b6a89efcda
fix folding
2007-01-18 12:20:15 +00:00
Antony Dovgal
fc9970a6e9
MFH: fix #40129 (iconv extension doesn't compile with CodeWarrior on Netware)
...
patch by gk at gknw dot de
2007-01-17 20:32:53 +00:00
Antony Dovgal
d6a4586197
MFH
2007-01-17 08:25:32 +00:00
Ilia Alshanetsky
b4f76016fd
Fixed output code inside odbc_result_all()
2007-01-16 18:56:06 +00:00
Antony Dovgal
bb691f155c
MFH: return false if realpath()/getcwd() fail
2007-01-16 14:42:38 +00:00
Antony Dovgal
5b4043554a
MFH: free temp cwd_state struct on error
2007-01-16 14:02:19 +00:00
Antony Dovgal
bd6c862fee
MFH
2007-01-16 11:19:10 +00:00
Antony Dovgal
7ad1c3c5f2
MFH: add trailing '\0' to stream hashes
2007-01-15 17:07:08 +00:00
Antony Dovgal
7dd989fd4a
revert the patch temporarily, I need to test a bigger patch in HEAD..
2007-01-15 16:03:42 +00:00
Antony Dovgal
c463e98e99
MFH
2007-01-15 14:59:49 +00:00
Antony Dovgal
4fca731b0b
fix test
2007-01-15 10:31:14 +00:00
Antony Dovgal
7b70e5be45
missing comma
2007-01-15 10:08:34 +00:00
Antony Dovgal
9ca5652f70
fix error message and #40111
2007-01-15 10:04:44 +00:00
Frank M. Kromann
c2cfc1eeee
Fix mysql -> dblib
2007-01-15 01:56:09 +00:00
Ilia Alshanetsky
d4fbb3ca53
Fixed bug #40127 (apache2handler doesnt compile on Netware).
2007-01-14 16:59:05 +00:00
Ilia Alshanetsky
c5588fae3a
Fixed bug #40121 (PDO_DBLIB driver wont free statements).
2007-01-14 16:57:50 +00:00
Hannes Magnusson
a6ff74de28
Fix typo in error message
2007-01-14 14:22:40 +00:00
Ilia Alshanetsky
f7d1d3ef44
Improve validation of argnum, width and precision.
2007-01-13 16:31:17 +00:00
Nuno Lopes
8815fdf5e0
OMG, this line was really bogus (and allocating huge amounts of memory unecessarly)
2007-01-13 11:21:21 +00:00
Nuno Lopes
e22c9cd775
fix valgrind error in test bug24594.phpt
...
while at it, remove some dead code and change the pts vector to char to save (much) memory
# Pierre: one more to merge ;)
2007-01-13 11:16:15 +00:00
Frank M. Kromann
2cca49ac01
MFH: Kill warnings when mt is not installed or is found as the tape command under cygwin
2007-01-13 03:32:28 +00:00
Dmitry Stogov
2f586e965e
Fixed bug #39969 (ini setting short_open_tag has no effect when using --enable-maintainer-zts)
2007-01-12 14:37:46 +00:00
Hannes Magnusson
6b7144d0b8
Fix build
...
#Thanks Andy
2007-01-12 14:31:28 +00:00
Antony Dovgal
e351aedbdc
MFH
2007-01-12 12:32:15 +00:00
Antony Dovgal
e8d2c9489d
MFH: nuke skeleton leftovers
2007-01-12 12:17:32 +00:00
Hannes Magnusson
b865d176de
Typo
2007-01-12 12:11:18 +00:00
Antony Dovgal
7d4ea80b07
MFH
2007-01-12 12:06:45 +00:00
Antony Dovgal
5941c1d28c
MFH
2007-01-12 09:10:16 +00:00
Ilia Alshanetsky
25e7373009
Use long instead of int where long is expected.
2007-01-12 02:03:59 +00:00
Ilia Alshanetsky
2ae036f038
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
...
Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:46:11 +00:00
Antony Dovgal
ed30473f7c
MFH
2007-01-11 22:23:20 +00:00
Dmitry Stogov
2e1a2438b5
Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss)
2007-01-11 16:47:32 +00:00
Antony Dovgal
870bd0b99f
MFH
2007-01-11 16:45:37 +00:00
Antony Dovgal
7c92982b5b
MFH
2007-01-11 15:51:37 +00:00
Antony Dovgal
f361d9e4f0
MFH: fix #39988 (type argument of oci_define_by_name() is ignored)
...
patch and tests by Chris Jones
2007-01-11 12:01:08 +00:00
Antony Dovgal
12d54fa683
MFH: fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name())
2007-01-11 11:27:52 +00:00
Sara Golemon
5e74c607a2
MFH
2007-01-11 02:33:07 +00:00
Johannes Schlüter
a95781d9bf
- MFH: Bump year
2007-01-10 22:17:27 +00:00
Ilia Alshanetsky
b5228f0c6c
Fixed bug #40091 (spl_autoload_register with 2 instances of the same class).
2007-01-10 18:14:37 +00:00
Ilia Alshanetsky
1c46fc5a45
Another bug fixed by Dmitry
2007-01-10 16:14:34 +00:00
Dmitry Stogov
7c750656f1
Fixed tests
2007-01-10 16:00:31 +00:00
Dmitry Stogov
e470e22e20
- Fixed bug #35106 (nested foreach fails when array variable has a reference).
...
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:58:08 +00:00
Hannes Magnusson
4e0f1992ed
Add missing ifdefs for shutdown()
2007-01-10 15:25:07 +00:00
Hannes Magnusson
3e0e2bb49d
Fix ifdefs
2007-01-10 14:40:06 +00:00
Hannes Magnusson
5d75262062
Fix build on system where HAVE_SETLOCALE is not defined
2007-01-10 14:37:31 +00:00
Antony Dovgal
48b4cb96e0
BFN
2007-01-10 14:11:44 +00:00
Antony Dovgal
3f3509606d
use RETURN_* instead of RETVAL_* and fix #40083
2007-01-10 12:03:11 +00:00
Dmitry Stogov
ae792a06b0
Fixed SIGSEGV
2007-01-10 07:04:49 +00:00
Ilia Alshanetsky
78ca1de763
Fixed bug #40079 (php_get_current_user() not thread safe).
...
# Original patch from wharmby at uk dot ibm dot com
2007-01-09 23:27:22 +00:00
Sara Golemon
6a8f688af2
MFH: Add CURLOPT_TCP_NODELAY constant
2007-01-09 23:13:05 +00:00
Marcus Boerger
66bad4f93b
- Ups wrong place
2007-01-09 18:50:45 +00:00
Marcus Boerger
da1992fdb3
- BFN
2007-01-09 18:35:32 +00:00
Marcus Boerger
023144ffa9
- MFH Fix for #40073
2007-01-09 17:55:29 +00:00
Andrei Zmievski
39fa36a0be
Fix 'b' prefix in highlighting and tokenizer. (Matt W)
2007-01-09 17:37:53 +00:00
Dmitry Stogov
5709b64739
Close open files in case of failure (Amit)
2007-01-09 16:27:17 +00:00
Ilia Alshanetsky
81729c1ece
Prevent SESSION/GLOBALS overload via session decoding
2007-01-09 15:31:12 +00:00
Dmitry Stogov
38f942b880
Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer)
2007-01-09 15:29:14 +00:00
Ilia Alshanetsky
96a8399e2f
Added key_length intialization for intergers
2007-01-09 15:20:45 +00:00
Dmitry Stogov
8c086cae23
Fixed bug #40002 (Try/Catch performs poorly)
2007-01-09 15:06:07 +00:00
Dmitry Stogov
cbd9822ed9
Bump year.
2007-01-09 11:53:08 +00:00
Antony Dovgal
1e352b3ae7
MFH: zerofill info_data and fix possible segfault
...
partly fixes #40073
2007-01-09 11:37:17 +00:00
Nuno Lopes
43369cef58
avoid calling MSHUTDOWN when built without libt1
2007-01-08 22:52:22 +00:00
Nuno Lopes
1790b05591
remove useless MSHUTDOWN function
2007-01-08 22:34:07 +00:00
Nuno Lopes
ec66c5be3d
make the hash_ops structures const and save some memory
...
# ram memory is so expensive these days...
2007-01-08 22:29:25 +00:00
Andrei Zmievski
cdfed7f757
MFH
2007-01-08 22:24:11 +00:00
Ilia Alshanetsky
60e20922eb
Use safe_emalloc() rather then emalloc()
2007-01-08 14:24:59 +00:00
Ilia Alshanetsky
13f006ac69
Fixed bug #38325 (spl_autoload_register() gaves wrong line for "class
...
not found").
2007-01-08 04:27:29 +00:00
Ilia Alshanetsky
c5fb061cbf
Provide means for opening file for zend with error supression. Allows us to
...
avoid INI hackery such as the one used in SPL.
2007-01-08 03:39:09 +00:00
Edin Kadribasic
fec9895fc3
MFH: Make mt more silent
2007-01-08 00:27:06 +00:00
Ilia Alshanetsky
8df326e003
Fixed bug #39394 (Missing check for older variants of openssl).
2007-01-07 18:38:22 +00:00
Hannes Magnusson
a688c62f57
Use relative timestamp
...
#Thanks Nuno :)
2007-01-07 07:58:28 +00:00
Ilia Alshanetsky
5babb6d10d
Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to
...
establish a new connection).
2007-01-07 04:36:40 +00:00
Ilia Alshanetsky
5068511748
Fixed bug #40036 (empty() does not work correctly with ArrayObject when
...
using ARRAY_AS_PROPS).
2007-01-07 03:52:44 +00:00
Ilia Alshanetsky
cbf6f5b538
Fixed memory leaks on error
2007-01-07 03:12:14 +00:00
Nuno Lopes
a431a09f47
MFH
2007-01-06 20:44:51 +00:00
Nuno Lopes
3eaf46af3e
fix a few memleaks and double-free()s on error conditions
2007-01-06 20:16:25 +00:00
Nuno Lopes
9b253882fc
fix build with libming 0.3 and older
2007-01-06 19:25:33 +00:00
Rob Richards
45a95f0898
update xmlwriter_write_dtd_entity parameters
2007-01-06 18:05:02 +00:00
Rob Richards
57792acabc
MFH: parameter entity argument (pe) should be bool
...
update test
2007-01-06 18:03:43 +00:00
Ilia Alshanetsky
d1891c3d8a
removed dl() block
2007-01-06 17:35:44 +00:00
Hannes Magnusson
630254d55e
Fix skipif
2007-01-06 16:56:38 +00:00
Hannes Magnusson
c0e9579204
ext/XMLWriter updates
2007-01-06 16:50:55 +00:00
Hannes Magnusson
252b9e9fb1
MFH: bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not entity)
...
Add & improve test
2007-01-06 15:53:33 +00:00
Dmitry Stogov
f694c1f1db
Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE
2007-01-06 09:02:02 +00:00
Sara Golemon
13f447eb64
MFH: (r-1.16) ttyname_r() is broken on BSD
2007-01-05 21:31:56 +00:00
Hannes Magnusson
3f9a4baa31
Fix test according to bug#40009
2007-01-05 15:22:35 +00:00
Hannes Magnusson
91b8c3b2b5
Fix tests
...
#We'll need to update these every year..
2007-01-05 15:21:45 +00:00
Ilia Alshanetsky
7d901eacbe
%f -> %F
2007-01-05 15:06:55 +00:00
Ilia Alshanetsky
56a147fbff
Back to dev
2007-01-04 23:55:56 +00:00
Ilia Alshanetsky
e6c845cb2c
5.2.1RC2
2007-01-04 23:52:29 +00:00
Ilia Alshanetsky
7ba84b8807
Added missing open_basedir checks
2007-01-04 23:49:35 +00:00
Nuno Lopes
17ff2f42ff
remove --show-details from lcov's genhtml, as currently we don't separate the coverage data per test, making this option useless
...
# gathering per test coverage data is possible, but way too slow and would require modifications to run-tests.php
2007-01-04 14:11:47 +00:00
Ilia Alshanetsky
a078b56326
Fixed bug #40009 (http_build_query(array()) returns NULL).
2007-01-03 23:16:56 +00:00
Nuno Lopes
b2fa0cb89d
reduce the test data size even further or when running with valgrind it times out
2007-01-03 22:32:49 +00:00
Nuno Lopes
b6dff166bf
MFH: fix infinite cycle
...
#this was the infinite cycle that was bugging me in the gcov machine...
2007-01-03 22:05:24 +00:00
Antony Dovgal
7cf0e005fa
MFH
2007-01-03 20:45:22 +00:00
Hannes Magnusson
9ad0ffbd33
MFH: revert pcrelib version string
2007-01-03 20:08:37 +00:00
Antony Dovgal
614e0b29ac
MFH
2007-01-03 18:32:27 +00:00
Derick Rethans
3dcf540547
- Fixed bug #40012 (php_date.c doesnt compile on Netware).
2007-01-03 14:46:23 +00:00
Antony Dovgal
46e5e63f94
MFH
2007-01-03 13:48:54 +00:00
Antony Dovgal
97f0cf1208
fix test
2007-01-03 13:47:11 +00:00
Ilia Alshanetsky
9046eaa260
Use proper length
2007-01-03 04:05:12 +00:00
Ilia Alshanetsky
b1cac0f72c
Added filter callback
...
Unlink temporary file on error
2007-01-03 03:55:07 +00:00
Nuno Lopes
8a806d186e
+- Fixed bug #37619 (proc_open() closes stdin on fork() failure).
2007-01-02 15:29:09 +00:00
Nuno Lopes
f3d0a26e13
add EXTRA_LDFLAGS_PROGRAM to config.nice (as LDFLAG is quite useless)
2007-01-01 20:10:01 +00:00
Ilia Alshanetsky
18548c1041
fixed compiler warnings
2007-01-01 19:40:29 +00:00
Ilia Alshanetsky
cb70d99ee2
fixed compiler warning
2007-01-01 19:35:47 +00:00
Ilia Alshanetsky
2df7386475
Update copyright year
...
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Ilia Alshanetsky
e095b94609
Fixed compiler warnings
2007-01-01 19:24:50 +00:00
Ilia Alshanetsky
5787b56554
Added missing entity functions (MFH from HEAD)
...
Fixed php_xmlwriter_streams_IO_close() docs
2007-01-01 19:21:48 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
6e0af2f4d5
Simplify code and change strchr() to memchr()
2006-12-31 22:47:13 +00:00
Ilia Alshanetsky
ba64553913
Added boundary checks to php_binary deserializer
2006-12-31 22:25:55 +00:00
Ilia Alshanetsky
96489b4178
Fixed bug #39984 (redirect response code in header() could be ignored in
...
CGI sapi).
2006-12-31 19:22:01 +00:00
Marcus Boerger
b8003b8461
- MFH Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType()
2006-12-31 18:20:22 +00:00
Nuno Lopes
169b207532
- Fixed bug #36427 (proc_open() / proc_close() leak handles on windows).
2006-12-31 15:27:13 +00:00
Nuno Lopes
877ee65622
Fixed bug #38542 (proc_get_status() returns wrong PID on windows)
2006-12-31 14:47:17 +00:00
Ilia Alshanetsky
5298554fb6
Added missing resource validation checks
2006-12-30 20:46:47 +00:00
Ilia Alshanetsky
3ca748d49c
Added missing resource type checks
2006-12-30 20:21:25 +00:00
Rob Richards
3d11fb35ae
BFN
2006-12-30 15:43:10 +00:00
Rob Richards
604f18c20d
fix bug #39760 (cloning fails on nested SimpleXML-Object)
...
add test
2006-12-30 15:41:17 +00:00
Ilia Alshanetsky
7f376183f8
C++ comment
2006-12-30 02:28:15 +00:00
Ilia Alshanetsky
78d8808f42
Mark test as being 32bit only
2006-12-30 02:00:51 +00:00
Ilia Alshanetsky
6895045565
Simplify & optimize code
...
# Patch by Matt Wilmas
2006-12-30 01:57:01 +00:00
Ilia Alshanetsky
790b0b9edf
Fixes test #50
2006-12-30 01:56:18 +00:00
Ilia Alshanetsky
79d524dc1e
Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
...
timestamp fields).
2006-12-29 00:34:30 +00:00
Antony Dovgal
2820e6c1fa
MFH
2006-12-28 22:36:53 +00:00
Antony Dovgal
7b281be1ee
that was not intentional
...
thanks Nuno
2006-12-28 22:12:08 +00:00
Antony Dovgal
28421f4f19
MFH
2006-12-28 21:02:14 +00:00
Antony Dovgal
e5f95ec3e4
MFH
2006-12-28 20:45:27 +00:00
Nuno Lopes
559ab4b3f9
make this test run a little faster (is currently timeout with valgrind)
2006-12-28 19:52:37 +00:00
Ilia Alshanetsky
794845234e
Added buffer length checks
2006-12-28 15:21:21 +00:00
Ilia Alshanetsky
b154f188d1
Simplify code and eliminate strcat() usage
2006-12-28 15:09:29 +00:00
Nuno Lopes
dae5040b61
MFH: force tidy.clean_output=0
2006-12-28 15:07:45 +00:00
Antony Dovgal
ef9646c867
MFH
2006-12-28 14:26:36 +00:00
Antony Dovgal
fdfa403388
MFH
2006-12-28 14:17:38 +00:00
Antony Dovgal
46a6bd7f9d
MFH
2006-12-28 13:30:25 +00:00
Antony Dovgal
112462d102
MFH
2006-12-28 12:18:54 +00:00
Antony Dovgal
d3a651a39e
MFH
2006-12-28 12:01:50 +00:00
Ilia Alshanetsky
96d9d6f0f1
Avoid strcpy() & strcat()
2006-12-28 00:17:48 +00:00
Nuno Lopes
66e555c66f
die("skip this is for PHP < 4.2.3");
2006-12-27 15:22:28 +00:00
Nuno Lopes
54f3ff34b7
oops: remove uneeded code in the skip condition
2006-12-27 15:17:04 +00:00
Nuno Lopes
d07a46ebab
add fr_FR@euro to the setlocale list
2006-12-27 15:11:35 +00:00
Antony Dovgal
b16f925e37
MFH
2006-12-27 10:31:10 +00:00
Antony Dovgal
65f50e7e31
MFH more test improvements by Chris Jones
2006-12-27 09:49:53 +00:00
Ilia Alshanetsky
d101e113cf
Fixed compiler warning
2006-12-26 17:17:52 +00:00
Ilia Alshanetsky
7fe60ada00
Don't forget to free url structure
2006-12-26 16:58:23 +00:00
Ilia Alshanetsky
5e576be36f
Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro).
2006-12-26 16:55:56 +00:00
Ilia Alshanetsky
ffd41a503f
Session deserializer protection.
2006-12-26 16:53:47 +00:00
Ilia Alshanetsky
dc5be15a6f
is_numeric_string() optimization
2006-12-26 16:45:39 +00:00
Ilia Alshanetsky
ff9d0fcc78
is_numeric_string() optimization
...
# Original Patch by Matt Wilmas
2006-12-26 16:44:20 +00:00
Antony Dovgal
24124518ab
MFH
2006-12-26 12:29:42 +00:00
Pierre Joye
f458ff3dac
- MFH: add better zlib detection
2006-12-26 10:42:50 +00:00
Pierre Joye
5a6f0e3059
- #39952 zip ignoring --with-libdir on zlib checks (judas dot
...
iscariote at gmail dot com)
2006-12-26 09:52:05 +00:00
Dmitry Stogov
67583e7aa5
Code review:
...
. fixed integer overflow
. fixed buffer overflow/underflow
. added more strict IP validation
. reimplemented float number validation
2006-12-26 09:16:25 +00:00
Ilia Alshanetsky
b85f1345a6
Ensure that OnUpdateLongGEZero is greater or equal to 0.
...
Added a update wrapper for ensuring >0 values
2006-12-25 23:55:59 +00:00
Ilia Alshanetsky
e2c110bebf
Allocation safety checks
2006-12-25 23:43:10 +00:00
Antony Dovgal
32d078f8e7
MFH
2006-12-25 22:40:23 +00:00
Ilia Alshanetsky
52d53543ac
Allocation safety checks
2006-12-25 22:36:57 +00:00
Antony Dovgal
9c2b6efb77
MFH
2006-12-25 22:27:24 +00:00
Antony Dovgal
6ac8ffdfea
MFH
2006-12-25 22:12:46 +00:00
Antony Dovgal
7dc7882745
MFH
2006-12-25 21:47:02 +00:00
Ilia Alshanetsky
7efb0a14f4
Use safe_emalloc()
2006-12-25 21:41:04 +00:00
Antony Dovgal
807a0966a9
fix weird strlen() usage
2006-12-25 21:18:01 +00:00
Antony Dovgal
6c50fa955b
MFH
2006-12-25 21:08:02 +00:00
Ilia Alshanetsky
652c7096b2
Fixed test for 64bit systems
2006-12-25 21:07:53 +00:00
Antony Dovgal
3fd433c07d
MFH
2006-12-25 20:53:50 +00:00
Antony Dovgal
2e3cd64566
MFH
2006-12-25 20:44:45 +00:00
Antony Dovgal
35db4d21b0
MFH
2006-12-25 20:03:43 +00:00
Dmitry Stogov
4480c5eb5d
Fixed bug #39825 (foreach produces memory error)
2006-12-25 19:23:03 +00:00
Ilia Alshanetsky
0776e56437
Use %F (ignores locale) for internal representation of floats
2006-12-25 16:48:18 +00:00
Hannes Magnusson
ff0a238043
Add missing NEWS entrys and update the README.UPDATE file
2006-12-25 16:03:38 +00:00
Antony Dovgal
9f76195869
MFH: fix bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path)
2006-12-25 15:41:56 +00:00
Antony Dovgal
601f4cd129
MFH
2006-12-25 15:28:57 +00:00
Antony Dovgal
c52bc49f50
fix test
2006-12-25 14:27:51 +00:00
Ilia Alshanetsky
e3569ae80a
Define SENDBUFLEN for older c-client libs
2006-12-25 14:23:18 +00:00
Dmitry Stogov
e57a60698b
Fixed bug #39944 (References broken)
2006-12-25 14:16:27 +00:00
Dmitry Stogov
5436160dc6
Fixed heap overflow
2006-12-25 13:11:23 +00:00
Dmitry Stogov
5823a2d28a
Fixed possible size_t overflow
2006-12-25 12:16:33 +00:00
Antony Dovgal
04d4811532
MFH
2006-12-25 11:50:31 +00:00
Antony Dovgal
6e8a7d7b20
fix tests
2006-12-25 11:16:23 +00:00
Ilia Alshanetsky
c5db57b495
Fixed buffer boundary protection
2006-12-24 22:15:06 +00:00
Ilia Alshanetsky
4f46c4e90f
Added empty string checks
2006-12-24 20:50:02 +00:00
Rob Richards
51bca1b406
BFN
2006-12-24 12:32:56 +00:00
Rob Richards
47fb655a56
fix bug #33734 and related (Something strange with COM Object)
...
- caused by fix in com_handlers.c rev 1.22.2.5
2006-12-24 12:32:10 +00:00
Rob Richards
a03f730875
BFN
2006-12-24 10:02:53 +00:00
Rob Richards
b7ec6f90e0
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
...
- fix bug #37588 (COM Property propputref converts to PHP function
and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests
2006-12-24 10:00:59 +00:00
Hannes Magnusson
6077df1a03
Fix typo
2006-12-24 01:29:20 +00:00
Ilia Alshanetsky
eaf3d32157
Safety checks
2006-12-23 23:28:39 +00:00
Ilia Alshanetsky
1379ad02e3
Added checks for negative max length and overflow checks for overly long
...
strings.
2006-12-23 18:50:33 +00:00
Derick Rethans
7180422fdc
- Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
...
--with-libdir).
2006-12-23 17:58:47 +00:00
Antony Dovgal
46b25155d2
MFH
2006-12-23 14:02:50 +00:00
Ilia Alshanetsky
72895cda6d
Fixed bug #39884 (ReflectionParameter::getClass() throws exception for type
...
hint self).
2006-12-22 15:37:48 +00:00
Ilia Alshanetsky
f40ebf4171
Fixed bug #36392 (wrong number of decimal digits with %e specifier in
...
sprintf).
2006-12-22 15:29:41 +00:00
Ilia Alshanetsky
7772e33ace
Small optimization of the date() function
2006-12-22 15:21:34 +00:00
Antony Dovgal
a7faaa1b14
new tests
2006-12-22 13:30:10 +00:00
Antony Dovgal
fb18a8e760
more tests
2006-12-22 13:07:53 +00:00
Ilia Alshanetsky
fd8f758ecd
Fixed bug #39873 (number_format() breaks with locale & decimal points).
2006-12-22 04:03:15 +00:00
Antony Dovgal
ed11386c3d
MFH
2006-12-21 22:08:26 +00:00
Antony Dovgal
b019cd99c6
MFH
2006-12-21 21:49:22 +00:00
Antony Dovgal
8854c3d51a
MFH
2006-12-21 21:37:45 +00:00
Antony Dovgal
66d9c24ccc
improve tests
2006-12-21 19:23:26 +00:00
Seiji Masugata
133d6bf2ca
Fixed bug #39361 , #39400 (mbstring function overloading problem).
2006-12-21 17:26:05 +00:00
Dmitry Stogov
5a1767e0d5
Fixed comments
2006-12-21 13:05:27 +00:00
Rob Richards
60941b02dc
fix issues identitified by coverity
2006-12-21 12:51:26 +00:00
Antony Dovgal
6546914e68
new tests
2006-12-21 12:41:36 +00:00
Antony Dovgal
bed14f8ab7
MFH
2006-12-21 11:08:00 +00:00
Dmitry Stogov
3ffc1c8f4a
Default memory_limit value is set to 128M
2006-12-21 09:12:42 +00:00
Dmitry Stogov
91dc80ba9a
Removed dependency from SHELL32.DLL
2006-12-21 09:01:10 +00:00
Ilia Alshanetsky
5ead613386
Fix a possible memory leak
2006-12-21 02:09:36 +00:00
Ilia Alshanetsky
dba3fe385d
Fixed possible memory leak
2006-12-21 01:57:05 +00:00
Antony Dovgal
6aec52bde7
MFH
2006-12-21 01:18:28 +00:00
Ilia Alshanetsky
1783b0e481
Optimize out zend_hash_num_elements() call
2006-12-21 01:16:10 +00:00
Antony Dovgal
f807343197
MFH
2006-12-21 01:08:04 +00:00
Antony Dovgal
ffa7e957c5
fix possible leaks
2006-12-21 01:00:58 +00:00
Antony Dovgal
41b55d9b78
MFH
2006-12-21 00:47:02 +00:00
Antony Dovgal
0abe62e027
MFH
2006-12-20 23:36:56 +00:00
Antony Dovgal
a0e2ccf490
MFH
2006-12-20 23:30:30 +00:00
Antony Dovgal
d040ec9b8e
MFH
2006-12-20 23:19:56 +00:00
Antony Dovgal
bbb923c7a8
MFH
2006-12-20 23:01:31 +00:00
Ilia Alshanetsky
87ffae250c
fixed ZTS build
2006-12-20 19:48:12 +00:00
Antony Dovgal
7d2142a56e
protect _SESSION, HTTP_SESSION_VARS and GLOBALS
...
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace
2006-12-20 19:31:28 +00:00
Ilia Alshanetsky
ea491dba64
Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).
2006-12-20 19:20:01 +00:00
Antony Dovgal
698ea5f48e
MFH
2006-12-20 19:08:48 +00:00
Andrei Zmievski
0d7af28a40
More correct patch for b-prefixes.
2006-12-20 18:22:07 +00:00
Antony Dovgal
c348c293c8
MFH: fix #39903 (Notice message when executing __halt_compiler() more than once)
2006-12-20 16:31:10 +00:00
Antony Dovgal
ea013f92e9
use Z_* macros
2006-12-20 16:00:11 +00:00
Antony Dovgal
40f6288fa3
MFH
2006-12-20 15:12:38 +00:00
Derick Rethans
a9d0abf82c
- Fixed the validate email filter so that the letter "v" can also be used in
...
the user part of the email address. (Derick)
2006-12-20 14:39:01 +00:00
Antony Dovgal
0f2eed24bb
MFH
2006-12-20 13:09:02 +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
Nuno Lopes
6a8a2e8b0e
new test
2006-12-19 21:46:48 +00:00
Michael Wallner
2beee146b4
MFH: check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks
2006-12-19 21:41:25 +00:00
Antony Dovgal
1ef3ca7bf7
on FreeBSD these locales have different names
2006-12-19 21:39:48 +00:00
Antony Dovgal
949a0934c8
MFH
2006-12-19 20:46:56 +00:00
Andrei Zmievski
16ea2ee640
Support 'b' prefix in front of string literals for forward compatibility
...
with PHP 6.
2006-12-19 17:26:17 +00:00
Nuno Lopes
078fda3d6e
remove NOP code in json_determine_array_type(), as we already know the zval passed is an array (based on patch by Ron Korving)
2006-12-19 15:01:05 +00:00
Antony Dovgal
2c3db736c4
add missing SKIPIF sections
2006-12-19 14:16:23 +00:00
Antony Dovgal
4307af8cdf
MFH
2006-12-19 13:27:09 +00:00
Antony Dovgal
c34d863d3e
MFH
2006-12-19 13:15:39 +00:00
Dmitry Stogov
5d8183f0b2
Support for systems without locale.h
2006-12-19 13:13:29 +00:00
Antony Dovgal
d6db0ccc12
fix test on MacOS
2006-12-19 13:08:35 +00:00
Antony Dovgal
0ecaeb89d3
serialize() should use '.' as decimal point irrespectively to locale
2006-12-19 12:36:44 +00:00
Dmitry Stogov
c43fc2afc8
Fixed bug #39815 (SOAP double encoding is not locale-independent)
2006-12-19 11:54:38 +00:00
Edin Kadribasic
39a7719f85
Updated list of available extensions in dlls.
...
Updated oci extension ini settings.
-- christopher.jones at oracle dot com
2006-12-19 10:34:10 +00:00
Edin Kadribasic
7e77d79b3c
Enable full build with newer Microsoft compilers
2006-12-19 10:26:01 +00:00
Hannes Magnusson
b12e3e1475
Fix tests
2006-12-19 10:03:24 +00:00
Dmitry Stogov
868ac7d3a3
Fixed bug #39869 (safe_read does not initialize errno). (michiel at boland dot org)
2006-12-19 09:17:04 +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
Brian Shire
8a3a61bcd0
BFN
2006-12-19 08:18:47 +00:00
Ilia Alshanetsky
d257696604
Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).
2006-12-18 17:56:25 +00:00
Ilia Alshanetsky
b9531d5b07
Cleanup & optimize php_filter_encode_url()
2006-12-18 15:42:18 +00:00
Ilia Alshanetsky
090e14dfda
Less hackish support for spaces at the start of tags within strip_tags()
2006-12-18 15:02:16 +00:00
Ilia Alshanetsky
a938d8e386
Fixed bugs with trimming of spaces
2006-12-18 14:56:40 +00:00
Antony Dovgal
a726dcaa99
MFH: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong")
2006-12-18 14:56:20 +00:00
Dmitry Stogov
6e0b78cd4c
Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0)
2006-12-18 14:39:23 +00:00
Antony Dovgal
908b1e562d
MFH: fix possible invalid read (reproducible only on big-endian machines)
2006-12-18 13:16:54 +00:00
Zeev Suraski
9219d7aa57
Whitespace
2006-12-18 12:32:08 +00:00
Dmitry Stogov
1763dc162d
Fixed random generation of cookies and canaries
2006-12-18 11:39:19 +00:00
Antony Dovgal
5fc3e649b6
MFH
2006-12-18 11:12:55 +00:00
Antony Dovgal
5e8eecb362
remove the comment, it's not valid anymore
2006-12-18 10:19:52 +00:00
Hannes Magnusson
9ef3575c25
MFH:
...
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:26:54 +00:00
Dmitry Stogov
cfbd58c987
MFH: __builtin_expect() exists only in GCC 3.0 and higher
2006-12-18 08:59:40 +00:00
Ilia Alshanetsky
7d7248390c
Filter fixes:
...
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
2006-12-18 04:22:05 +00:00
Brian Shire
5bf3df531f
Fixed bug #30074
...
extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage
Added test
2006-12-17 20:09:48 +00:00
Ilia Alshanetsky
e8bc39d95d
Fixed compiler warning
2006-12-17 18:30:36 +00:00
Ilia Alshanetsky
24cc05dc09
Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying libc-client).
2006-12-17 18:22:53 +00:00
Hannes Magnusson
93a606a192
Fix build
2006-12-17 03:26:04 +00:00
Ilia Alshanetsky
b75d079c89
Fixed bug #39846 (Invalid IPv4 treated as valid).
2006-12-16 21:48:05 +00:00
Andi Gutmans
5e36d7fcfe
- I prefer cookie to be the first element.
2006-12-15 17:03:42 +00:00
Dmitry Stogov
bf9e3e769c
Added internal heap protection
...
. safe unlinking
. cookies
. canary protection (debug build only)
2006-12-15 13:25:26 +00:00
Ilia Alshanetsky
195b102126
back to dev
2006-12-15 01:22:35 +00:00
Ilia Alshanetsky
0ee7c30453
5.2.1RC1
2006-12-15 01:21:36 +00:00
Andrei Zmievski
8f5310afad
Support for 'S' format in unserialize() (forward compatibility with PHP
...
6)
2006-12-15 00:58:08 +00:00
Ilia Alshanetsky
eb8bab9f46
Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config
...
settings).
2006-12-13 15:45:20 +00:00
Ilia Alshanetsky
563221783a
Removed deadcode found by Ron Korving
2006-12-13 15:39:12 +00:00
Ilia Alshanetsky
a055e93a27
optimize out strlen() calls
...
# Patch by Matt Wilmas
2006-12-13 15:31:47 +00:00
Ilia Alshanetsky
1c4806c515
Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler).
2006-12-13 00:41:33 +00:00
Sara Golemon
db87e11e6b
MFH: Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error
2006-12-12 23:25:23 +00:00
Antony Dovgal
18edb61440
fix test
2006-12-12 22:33:26 +00:00
Ilia Alshanetsky
cbaaf1bc07
Fixed bug #39797 (virtual() does not reset changed INI settings).
2006-12-12 18:05:25 +00:00
Ilia Alshanetsky
e034b4a8b0
Removed dummy vars.
...
# Patch by Matt Wilmas
2006-12-12 15:35:16 +00:00
Antony Dovgal
beeb5ddec4
disable tests
2006-12-12 13:22:44 +00:00
Antony Dovgal
fd23b700fb
fix test
2006-12-12 13:11:36 +00:00
Antony Dovgal
2f5229c9fc
MFH: skip BFILE tests if Oracle is not on localhost
2006-12-12 13:00:01 +00:00
Antony Dovgal
dc64595467
MFH
2006-12-12 12:11:51 +00:00
Antony Dovgal
24b312f8d5
MFH: missing part of the fix for #39795
2006-12-12 12:06:37 +00:00
Antony Dovgal
53f89fad03
MFH
2006-12-12 10:16:06 +00:00
Antony Dovgal
fc0e395678
add new tests
2006-12-12 09:33:33 +00:00
Antony Dovgal
f5543e8279
MFH
2006-12-12 09:28:18 +00:00
Hannes Magnusson
f4e63cbece
Fix test
2006-12-12 09:15:25 +00:00
Hannes Magnusson
14b7a1bdd1
Fix skipif
2006-12-12 08:13:31 +00:00
Hannes Magnusson
0028eccadd
Fix tests
2006-12-12 08:09:40 +00:00
Antony Dovgal
a74c36a335
MFH: fix #39795 (build fails on AIX because crypt_r() uses different data struct)
2006-12-12 07:38:04 +00:00
Ilia Alshanetsky
2f291233e6
Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
...
yields incorrect results).
2006-12-11 21:04:40 +00:00
Ilia Alshanetsky
5218d956f0
Fixed typo
2006-12-11 15:59:41 +00:00
Ilia Alshanetsky
19e4dc5058
Removed bool<>long optimization as it causes issues with strict type checks
2006-12-11 15:34:35 +00:00
Ilia Alshanetsky
7e1973d9fc
Minor optimization (2-3%) from Brian Shire
2006-12-11 15:16:07 +00:00
Ilia Alshanetsky
d3aa695263
Fixed bug #39787 (PHP doesn't work with Apache 2.3).
2006-12-11 14:54:14 +00:00
Antony Dovgal
ab765ca497
MFH
2006-12-11 12:34:09 +00:00
Antony Dovgal
03785ddb5f
add new test
2006-12-11 12:32:06 +00:00
Ilia Alshanetsky
f5b6604376
Fixed bug #39791 (Crash in strtotime() on overly long relative date
...
multipliers).
2006-12-11 05:04:36 +00:00
Marcus Boerger
66525a739e
- MFH Fix comparison of RecursiveDualIterators
2006-12-10 23:44:49 +00:00
Ilia Alshanetsky
e64cb1ae4d
Optimize extract()
...
# Patch by Brian Shire
2006-12-10 19:43:03 +00:00
Pierre Joye
6ccde868be
- #39286 entry
2006-12-10 02:56:35 +00:00
Pierre Joye
7ddd4ed1d7
- #39286 , misleading error message when nvalid dimensions are given
2006-12-10 02:55:30 +00:00
Pierre Joye
7faf8325e7
- #39508 , add test (imagefill crashes with small image)
2006-12-10 01:58:50 +00:00
Pierre Joye
0d444306c9
- #39780 entry
2006-12-10 01:39:09 +00:00
Pierre Joye
9e533e39b6
- MFH:#39780, PNG image with CRC/data error raises fatal error
2006-12-10 01:38:02 +00:00
Edin Kadribasic
99c041ade3
BFN
2006-12-10 01:26:51 +00:00
Edin Kadribasic
42e1c9a1e0
Fixed by #39751 by KevinJohnHoffman at gmail dot com
2006-12-10 01:23:41 +00:00
Hannes Magnusson
d9f03aac34
MFH: sys_get_temp_dir()
2006-12-09 18:00:52 +00:00
Ilia Alshanetsky
b8590f954d
Fixed test
2006-12-09 16:41:24 +00:00
Ilia Alshanetsky
0236a7eaf4
Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir
...
setting).
2006-12-09 16:01:29 +00:00
Hannes Magnusson
3d5fec9cb5
MFH: new cookie tests
2006-12-09 15:58:09 +00:00
Ilia Alshanetsky
94e3f478d7
Fixed handling of multiple cookies with the same name.
...
Added support for cookies into run-tests.php
2006-12-09 14:14:29 +00:00
Ilia Alshanetsky
847741cb08
Strip leading spaces from cookie names, that can come from multi-cookie
...
headers where ; can be followed by any number of spaces.
2006-12-09 13:01:23 +00:00
Rob Richards
e41f103431
BFN
2006-12-09 10:53:45 +00:00
Rob Richards
c2c9908f88
fix heap corruption when adding/caching typelib (also fixes bug 39606)
...
add test
2006-12-09 10:52:09 +00:00
Ilia Alshanetsky
d94453a4e5
Fixed tests
2006-12-09 03:17:49 +00:00
Ilia Alshanetsky
352e69d3f0
Fixed test
2006-12-09 03:07:32 +00:00
Antony Dovgal
7df81307c1
MFH
2006-12-08 21:18:43 +00:00
Antony Dovgal
f71a310543
MFH: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack
2006-12-08 20:59:31 +00:00
Antony Dovgal
f8d4de338b
MFH: fix #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit)
2006-12-08 20:56:29 +00:00
Ilia Alshanetsky
b7b0f4d988
Fixed bug #39759 (Can't use stored procedures fetching multiple result
...
sets in pdo_mysql).
2006-12-08 19:50:40 +00:00
Rob Richards
4991dba418
fix tests
2006-12-08 17:55:58 +00:00
Ilia Alshanetsky
db7dad0ba0
Fixed bug #39763 (magic quotes are applied twice by ext/filter in
...
parse_str())
2006-12-08 17:50:04 +00:00
Antony Dovgal
cdf5db41a7
-BFN
2006-12-08 17:11:42 +00:00
Antony Dovgal
b32bf96363
revert the fix for #39763
2006-12-08 17:04:01 +00:00
Dmitry Stogov
108a2fc64c
Fixed bug #39775 ("Indirect modification ..." message is not shown)
...
The fix breaks two SimpleXML tests those must be fixed
2006-12-08 15:55:31 +00:00
Antony Dovgal
1edf208421
add new tests by <zoe dot slattery at googlemail dot co dot uk>
2006-12-08 14:39:25 +00:00
Dmitry Stogov
dd9b5a08f0
Fixed possible failure
2006-12-08 12:47:45 +00:00
Nuno Lopes
802e12674e
add tests for old bug reports
2006-12-08 12:13:23 +00:00
Antony Dovgal
feba2edba2
initialize variables
2006-12-07 20:45:58 +00:00
Antony Dovgal
6b8526efce
MFH: fix #39763 (magic quotes are applied twice by ext/filter)
2006-12-07 11:00:08 +00:00
Ilia Alshanetsky
72ea6912f7
Fixed bug #39754 (Some POSIX extension functions not thread safe).
2006-12-07 01:41:18 +00:00
Rasmus Lerdorf
0110fca856
Typo
2006-12-06 21:20:39 +00:00
Antony Dovgal
60f3797200
MFH
2006-12-06 16:28:36 +00:00
Antony Dovgal
da53237f41
MFH: add missing 'F' modified (noticed by Matt)
2006-12-06 14:47:36 +00:00
Rob Richards
cf4c83dd2b
Fix win32 build
2006-12-06 13:18:36 +00:00
Antony Dovgal
b4d0d872e7
MFH
2006-12-06 10:49:27 +00:00
Antony Dovgal
8c8bf92311
news
2006-12-06 09:53:15 +00:00
Antony Dovgal
4d44a5b71d
MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
...
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:52:51 +00:00
Antony Dovgal
a813e112d4
MFH
2006-12-05 23:51:30 +00:00
Ilia Alshanetsky
62cd5a9bae
Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension).
2006-12-05 23:37:57 +00:00
Antony Dovgal
9ce985bbae
cosmetic improvements
2006-12-05 23:03:19 +00:00
Frank M. Kromann
7fd9e4fce9
Remove PHP4.x stuff
2006-12-05 21:46:23 +00:00
Frank M. Kromann
5dca5450f2
#39429 Update API
2006-12-05 21:02:46 +00:00
Dmitry Stogov
68890ce196
Fixed bug #39721 (Runtime inheritance causes data corruption)
2006-12-05 19:03:51 +00:00
Antony Dovgal
5e7eed6a9a
MFH: nuke redundant zval_ptr_dtor() call
2006-12-05 18:42:38 +00:00
Ilia Alshanetsky
e5ad7bf299
Fixed bug #36798 (Error parsing named parameters with queries containing
...
high-ascii chars).
2006-12-05 18:04:59 +00:00
Ilia Alshanetsky
9a1abfbb7d
Revert previous patch and it breaks builds with built-in cdb lib
2006-12-05 17:54:52 +00:00
Hannes Magnusson
a41e70782b
Fix test
2006-12-05 15:55:55 +00:00
Rob Richards
e071d48604
BFN
2006-12-05 12:05:43 +00:00
Rob Richards
865f4d75be
fix bug #39625 (Apache crashes on importStylesheet call)
2006-12-05 12:04:34 +00:00
Dmitry Stogov
7389f59f4d
Fixed FastCGI impersonation for persistent connections on Windows
2006-12-05 08:55:15 +00:00
Dmitry Stogov
8f5786b6e8
Removed unused zend_mm.*
2006-12-05 08:07:57 +00:00
Ilia Alshanetsky
53a1403b53
Fixed bug #39571 (timeout ssl:// connections).
2006-12-05 01:39:07 +00:00
Pierre Joye
ae1d0de24b
- invalid filter
2006-12-05 01:25:29 +00:00
Pierre Joye
33f9ada038
- MFH: invalid filter id should not return unsafe values
2006-12-05 01:24:18 +00:00
Pierre Joye
145e7e470a
- MFH: callback test
2006-12-04 21:33:22 +00:00
Pierre Joye
bff08d46f1
- default filter is not string anymore (in comment)
...
- WS and error msg sync with head
2006-12-04 21:16:01 +00:00
Pierre Joye
5f2562e905
- MFH: init tmp var
2006-12-04 21:07:13 +00:00
Stanislav Malyshev
6b651f8e60
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
...
tolower_l function.
# Gives 10-18% speedup on bench.php
# Does not change behaviour for non-windows
2006-12-04 18:37:15 +00:00
Ilia Alshanetsky
57a912e828
Fixed tests
2006-12-04 18:29:49 +00:00
Antony Dovgal
ebef6661df
MFH: fix build with Sun compiler, which doesn't support -O0
2006-12-04 18:28:49 +00:00
Antony Dovgal
44a3cad930
MFH: partly fix #39724
...
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:53 +00:00
Ilia Alshanetsky
8e907392b3
Fixed test (user is a reserved keyword in pgsql)
2006-12-04 17:55:46 +00:00
Antony Dovgal
459564e2d2
fix tests
2006-12-04 17:48:52 +00:00
Dmitry Stogov
f7bc516502
Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi)
2006-12-04 16:20:02 +00:00
Antony Dovgal
bcf457d828
MFH: fix retval type
2006-12-04 15:58:48 +00:00
Ilia Alshanetsky
35f78f221b
Fixed bug #37627 (session save_path check checks the parent directory).
2006-12-04 15:19:26 +00:00
Antony Dovgal
dad67b1f65
MFH: look for tests in sapi/cli
2006-12-04 13:07:26 +00:00
Ilia Alshanetsky
7fb3715d43
Fixed bug #38319 (Remove bogus warnings from persistent PDO connections).
2006-12-04 03:07:44 +00:00
Ilia Alshanetsky
44045f8cb1
Fixed bug #38252 (Incorrect PDO error message on invalid default fetch mode).
2006-12-04 02:40:08 +00:00
Ilia Alshanetsky
fc21d423fd
Added test for previous bug
2006-12-04 00:40:31 +00:00
Ilia Alshanetsky
4356aad0ae
Fixed bug #39483 (Problem with handling of \ char in prepared statements).
2006-12-04 00:38:46 +00:00
Ilia Alshanetsky
e7c2bd6e40
Default to buffered queries (much faster)
...
Default to prepared statement emulation to avoid hitting MySQL bugs
2006-12-03 23:29:03 +00:00
Ilia Alshanetsky
44baca5aed
Added missing check for mismatching number of tokens & bound params in
...
prepared statement emulation.
2006-12-03 23:27:44 +00:00
Ilia Alshanetsky
b6bdd44962
Added "default" option that allows a default value to be set for an invalid
...
or missing value.
2006-12-03 21:27:36 +00:00
Ilia Alshanetsky
9666f1deae
Config fix from Gentoo
2006-12-03 19:54:55 +00:00
Ilia Alshanetsky
7999c9d251
Fixed bug #39718 (possible crash if assert.callback is set in ini).
2006-12-03 17:13:11 +00:00
Ilia Alshanetsky
b71ac5063e
Fixed php_readdir_r() usage in scandir emulation
2006-12-03 15:52:17 +00:00
Antony Dovgal
361c8b4fb4
MFH
2006-12-03 14:37:32 +00:00
Antony Dovgal
e1a63af85b
MFH: fix leaks
2006-12-03 13:59:11 +00:00
Antony Dovgal
065be7056d
MFH: fix AIX build
2006-12-03 13:46:37 +00:00
Hannes Magnusson
f61b9635ba
Fix test on fbsd
2006-12-03 08:04:57 +00:00
Nuno Lopes
0df2a37d1b
new tests. increase coverage for more than 90%
2006-12-02 21:39:28 +00:00
Ilia Alshanetsky
916673a345
Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
...
prepared statements are used in pdo_mysql).
2006-12-02 17:53:44 +00:00
Frank M. Kromann
66eb5b1dde
Fix win32 build
2006-12-01 20:24:58 +00:00
Frank M. Kromann
a6b3682dba
Fix win32 build
2006-12-01 20:17:50 +00:00
Ilia Alshanetsky
f3e577375e
Fixed typo
2006-12-01 20:10:35 +00:00
Dmitry Stogov
abc5bb5f61
Bug #39438 (Fatal error: Out of memory)
2006-12-01 20:01:50 +00:00
Dmitry Stogov
e70d7cfc90
typo
2006-12-01 19:41:57 +00:00
Ilia Alshanetsky
b3004fb883
Fixed a possible memory corruption in dbase_open() with invalid open mode
2006-12-01 19:10:50 +00:00
Nuno Lopes
e65bdffab5
tests + BFN
2006-12-01 16:37:39 +00:00
Nuno Lopes
8e0cf44164
fix bug #39458 : ftp_nlist() returns false on empty dirs
2006-12-01 16:34:43 +00:00
Dmitry Stogov
0742edb396
Fixed bug #39702 (php crashes in the allocator on linux-m68k)
2006-12-01 15:33:06 +00:00
Dmitry Stogov
de9574e872
Fixed bug #39640 (Segfault with "Allowed memory size exhausted")
2006-12-01 13:54:29 +00:00
Dmitry Stogov
e8e9810dd9
Fixed bug #39652 (Wrong negative results from memeory_get_usage())
2006-12-01 11:42:20 +00:00
Marcus Boerger
5ea32dc1e4
- MFH: Fix handling of recursive inner iterators
2006-12-01 09:29:15 +00:00
Ilia Alshanetsky
5f3e233ea7
Disallow \0 chars inside session.save_path
2006-12-01 00:27:20 +00:00
Ilia Alshanetsky
c42d25dc33
Small hash table optimization
2006-11-30 23:51:24 +00:00
Ilia Alshanetsky
b7dc2a51ad
Added check for crypt_r()
2006-11-30 17:10:46 +00:00
Ilia Alshanetsky
ac9927728a
Added missing function checks
2006-11-30 16:48:03 +00:00
Ilia Alshanetsky
ca89b6dedd
last set of zts fixes
2006-11-30 16:38:37 +00:00
Ilia Alshanetsky
c69555b948
Thread safety fixes.
2006-11-30 16:21:24 +00:00
Ilia Alshanetsky
930ac9a5d0
Thread-safety issues
2006-11-30 16:10:38 +00:00
Ilia Alshanetsky
891bd7888f
Use reantrant crypt_r() whenever possible.
2006-11-30 15:59:53 +00:00
Ilia Alshanetsky
20b92bf4cc
Use thread-safe code
2006-11-30 15:13:19 +00:00
Antony Dovgal
57130c653a
fix test
2006-11-30 13:09:32 +00:00
Ilia Alshanetsky
52bd6de7f4
Thread safety fixed for *nix systems
2006-11-30 00:35:15 +00:00
Ilia Alshanetsky
466d9ba00a
Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are
...
not thread safe).
2006-11-29 23:34:49 +00:00
Antony Dovgal
4cc29fef5c
MFH
2006-11-29 22:53:26 +00:00
Derick Rethans
ac7e6f5fec
- Updated timezone database to version 2006.16.
2006-11-29 20:00:49 +00:00
Ilia Alshanetsky
bfa4af46e1
Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory
...
corruption on Windows in pgsql and pdo_pgsql extensions).
2006-11-29 15:45:59 +00:00
Antony Dovgal
60bb494607
MFH: fix #39673 (file_get_contents causes bus error on certain offsets)
2006-11-29 11:12:59 +00:00
Rob Richards
d5d1801df7
correct fix for bug #39662 to fix leak and tree corruption
...
fix test
2006-11-29 08:51:36 +00:00
Marcus Boerger
ecd417c6ce
- MFH: Add new example
2006-11-28 22:20:01 +00:00
Antony Dovgal
0966666256
MFH: resolve coverity issue #224
2006-11-28 21:20:33 +00:00
Antony Dovgal
aaf120127e
add php_unescape_html_entities() proto to the header
...
(fixes #39665 )
2006-11-28 20:41:07 +00:00
Antony Dovgal
d55eb93c94
MFH: fix #39662 (Segfault when calling asXML() of a cloned SimpleXMLElement)
2006-11-28 18:59:53 +00:00
Antony Dovgal
bb30875db6
add test
2006-11-28 16:55:05 +00:00
Ilia Alshanetsky
2d4b8e19e2
Fixed bug #39656 (crash when calling fetch() on a PDO statment object
...
after closeCursor()).
2006-11-28 16:27:53 +00:00
Antony Dovgal
2c6a5df4ac
BFN
2006-11-28 11:40:41 +00:00
Antony Dovgal
5a6c11d9f4
MFH: fix #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled)
2006-11-28 11:39:19 +00:00
Pierre Joye
a70264892b
- fix warning
...
- addEmptyDir returns true on success
- remove useless semi column
2006-11-28 01:31:53 +00:00
Ilia Alshanetsky
34b55f2012
Replace non-threadsafe rand() with php_rand_r()
2006-11-28 00:22:05 +00:00
Antony Dovgal
9503b966ec
MFH: fix #39564 (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails)
2006-11-27 12:14:09 +00:00
Antony Dovgal
a3c2958f22
MFH: fix test on FreeBSD
2006-11-27 11:43:59 +00:00
Alex Waugh
4e0446b6c9
MFH: Improve robustness of sending routines
2006-11-26 19:51:23 +00:00
Ilia Alshanetsky
e6a3431315
Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic).
2006-11-26 17:02:13 +00:00
Ilia Alshanetsky
f06eb4bf8b
Fixed test, in some versions of c-client returned value is always uppercase
2006-11-26 16:31:43 +00:00
Ilia Alshanetsky
845c07f560
Fixed test
2006-11-26 16:29:42 +00:00
Ilia Alshanetsky
22ff526e99
Added a meta tag to phpinfo() output to prevent search engines from
...
indexing the page.
2006-11-26 16:26:18 +00:00
Antony Dovgal
93fc85b2af
MFH: fix #39621 (str_replace() is not binary safe on strings with equal length)
2006-11-24 21:59:09 +00:00
Nuno Lopes
e8384cbcca
more tests
2006-11-24 20:18:54 +00:00
Nuno Lopes
d64b17543c
fix tests after Tony's commit and add a test for the bug he fixed
2006-11-24 15:47:45 +00:00
Antony Dovgal
050e32ed65
fix test
2006-11-24 13:40:43 +00:00
Antony Dovgal
158ad3ee2f
add tests for CLI
2006-11-24 13:33:38 +00:00
Antony Dovgal
7f235792b3
MFH: fix #39583 (ftp_put() does not change transfer mode to ASCII)
2006-11-24 12:39:39 +00:00
Antony Dovgal
724f500c92
BFN
2006-11-24 10:30:02 +00:00
Antony Dovgal
ffb9e15465
fix #39613 (Possible segfault in imap initialization due to missing module dependency)
...
patch by wharmby at uk dot ibm dot com
2006-11-24 10:28:51 +00:00
Antony Dovgal
090215cc7f
nullify opened_path and filename (when required)
...
fixes invalid reads with `php-cli -F <script>`
2006-11-23 22:04:54 +00:00
Nuno Lopes
94a810755f
add tests for 2 old bugs
2006-11-23 20:47:38 +00:00
Antony Dovgal
7172a53c3a
do not set an env variable without a name and a value
2006-11-23 20:06:10 +00:00
Nuno Lopes
ba8ba5a909
add two more tests (test bogus parameters and bogus server respsnes)
2006-11-23 17:34:34 +00:00
Ilia Alshanetsky
af16066603
Fixed a possible crash
2006-11-23 14:41:35 +00:00
Dmitry Stogov
c663787ab4
Fixed bug #39534 (Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com)
2006-11-23 09:32:39 +00:00
Dmitry Stogov
79c3defac0
Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows)
2006-11-23 08:37:21 +00:00
Dmitry Stogov
6a8f267db6
Fixed bug #39602 (Invalid session.save_handler crashes PHP)
2006-11-23 08:07:05 +00:00
Ilia Alshanetsky
e8180067b9
Fixed a possible crash in dbase_open() on empty filename.
2006-11-22 17:30:34 +00:00
Pierre Joye
efa9b7e20b
- MFH: #39538 , fgetcsv can't handle starting newlines and trailing odd
...
number of backslashes (David Soria Parra, Pierre)
2006-11-22 12:59:49 +00:00
Antony Dovgal
a7ce772222
fix #39575 (move_uploaded_file() no longer working (safe mode related))
2006-11-22 11:55:36 +00:00
Michael Wallner
a09ef37d30
- fix ENV section handling
2006-11-22 10:45:06 +00:00
Antony Dovgal
df1a1c8441
MFH: fix #39576 (array_walk() doesn't separate userdata zval)
2006-11-22 10:42:41 +00:00
Antony Dovgal
090a83b974
ensure that bucket->brigade is NULL in newly created bucket
2006-11-21 20:58:17 +00:00
Antony Dovgal
26ed531c64
add test
2006-11-21 18:17:11 +00:00
Antony Dovgal
e412981f7b
remove redundant error message
...
add test by <zoe dot slattery at googlemail dot com>
2006-11-21 17:42:11 +00:00
Ilia Alshanetsky
57eb7c0bad
Adjust previous patch to work better
2006-11-21 15:53:23 +00:00
Antony Dovgal
1c6ee3030e
add test
2006-11-21 11:11:39 +00:00
Antony Dovgal
eb666b725f
MFH: fix proto
2006-11-21 10:48:29 +00:00
Antony Dovgal
2f9a9c4248
add new test
2006-11-20 22:17:10 +00:00
Antony Dovgal
c220da74ef
MFH test
2006-11-20 20:55:51 +00:00
Marcus Boerger
d4dc662621
- MFH: Fix arginfo
2006-11-20 20:04:03 +00:00
Marcus Boerger
164929d557
- MFH: Add new test
2006-11-20 19:58:01 +00:00
Ilia Alshanetsky
fd8378d7d6
Fixed compiler warnings
2006-11-20 19:04:21 +00:00
Antony Dovgal
2ff721a93f
MFH
2006-11-20 16:33:06 +00:00
Antony Dovgal
39ad6abbf8
fix test on Solaris
2006-11-20 16:28:26 +00:00
Antony Dovgal
296e2a3775
MFH
2006-11-20 11:12:42 +00:00
Nuno Lopes
bd519ae0d9
new tests. what a crazy idea...
2006-11-19 18:37:28 +00:00
Ilia Alshanetsky
714abb7ea1
pack()/unpack() tests
2006-11-19 18:31:07 +00:00
Ilia Alshanetsky
0d338f463c
Fixed bug #38770 (unpack() broken with longs on 64 bit machines).
2006-11-19 18:20:48 +00:00
Dmitry Stogov
c06f9e1efe
COM initialization/deinitialization are done only if necessary
2006-11-17 11:40:52 +00:00
Nuno Lopes
cb4b75f155
remove old file (which was already removed from 4.4 and HEAD trees)
2006-11-16 18:58:02 +00:00
Ilia Alshanetsky
c7d84b7451
Fixed compiler warnings
2006-11-16 17:33:39 +00:00
Hannes Magnusson
133bdb42e3
Fix ftruncate() with negative size on FreeBSD
2006-11-16 16:06:51 +00:00
Antony Dovgal
cf04587553
fix tests
2006-11-16 13:49:20 +00:00
Antony Dovgal
36d66521c9
add new tests
2006-11-16 13:01:23 +00:00
Hannes Magnusson
cf64728899
renamed to oo_getcomment.phpt
2006-11-16 08:52:15 +00:00
Pierre Joye
426dce9ce3
- mv oo_get_comment.phpt oo_getcomment.phpt
2006-11-15 23:53:46 +00:00
Pierre Joye
c412409164
- MFH: #39217 , serialNumber might be -1 when the value is too big
2006-11-15 23:28:06 +00:00
Antony Dovgal
d1acb8d4eb
add new tests, improve existing ones
2006-11-15 22:44:29 +00:00
Antony Dovgal
eca1911b72
fix leak, add test
2006-11-15 22:10:19 +00:00
Sara Golemon
2eb308ff75
Backport md2, ripemd256, and ripemd320 algos from HEAD
2006-11-15 20:06:09 +00:00
Pierre Joye
892c00bb9f
#9278 and #39506 , force the binary mode for the zip operation only. At least I do not have to set/restore it in each function.
2006-11-15 19:14:02 +00:00
Ilia Alshanetsky
82fb3e00b8
Fixed bug #37773 (iconv_substr() gives "Unknown error" when string length =
...
1").
2006-11-15 18:34:57 +00:00
Dmitry Stogov
3f92ab719f
typo
2006-11-15 17:53:27 +00:00
Antony Dovgal
9d6f7755b8
fix leak appearing when converting object to NULL
...
add test
2006-11-15 17:29:08 +00:00
Antony Dovgal
84ff4aaf1a
add new tests
2006-11-15 17:27:03 +00:00
Pierre Joye
1d61562efe
#39506 and PECL #9278 , should fix the problem for the other SAPI (works for CLI, CGI and embed)
...
see: http://news.php.net/php.internals/26606 for the details
2006-11-15 16:24:24 +00:00
Dmitry Stogov
842b1b5a47
Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash)
2006-11-15 16:05:11 +00:00
Dmitry Stogov
8619bf8332
Removed unnecessary getenv/putenv calls
2006-11-15 13:33:41 +00:00
Antony Dovgal
70288ef71e
fix test on AIX
2006-11-15 12:11:17 +00:00
Antony Dovgal
567aed8316
fix test
2006-11-15 11:27:26 +00:00
Dmitry Stogov
0916ac47c9
Fixed wrong ext/filter behavior. It didn't register FastCGI environment variables and made memory leaks.
2006-11-15 11:13:02 +00:00
Antony Dovgal
60188ad863
fix test
2006-11-15 10:47:26 +00:00
Hannes Magnusson
849a7857ac
Fix test (file_put_contents() now uses __toString)
2006-11-15 07:58:02 +00:00
Ilia Alshanetsky
fca0e24410
Added missing object support to file_put_contents().
2006-11-15 00:20:40 +00:00
Antony Dovgal
6640a1c861
one more test
2006-11-14 22:23:45 +00:00
Antony Dovgal
963b1db67f
add new tests
2006-11-14 21:59:57 +00:00
Edin Kadribasic
a3453eb8d4
Bundled lib upgrade
2006-11-14 19:59:31 +00:00
Edin Kadribasic
77986844c8
Tell linker that we're using stati libcurl
2006-11-14 19:57:13 +00:00
Derick Rethans
de50222d1c
- MFH: No idea if we actually support 16 bit systems, but this just looked wrong
2006-11-14 14:42:42 +00:00
Dmitry Stogov
c1ba4fc989
Fixed VC2005 support
2006-11-14 14:20:26 +00:00
Dmitry Stogov
9b5a57f548
Fixed problem with spaces in libpath
2006-11-14 14:10:53 +00:00
Pierre Joye
df56d24304
- #39508 , do not use the 4 neighbors implementation for small images (w<4)
...
test will follow
2006-11-14 13:45:24 +00:00
Dmitry Stogov
5caf547a9f
cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to ommiting checnk for "#! /usr/bin/php" line.
2006-11-14 10:31:47 +00:00
Antony Dovgal
89e93a02f3
add .libs to .cvsignore
2006-11-14 09:40:14 +00:00
Dmitry Stogov
af74c7c9d2
Added comments
2006-11-14 09:15:55 +00:00
Ilia Alshanetsky
b28cbe8b6f
Fixed bug #36812 (pg_execute() modifies input array).
2006-11-13 22:10:37 +00:00
Antony Dovgal
923b785fd1
add new test
2006-11-13 21:27:48 +00:00
Antony Dovgal
017f3ae479
don't forget to close the stream when/if flock() fails
2006-11-13 20:31:27 +00:00
Antony Dovgal
34db368fe4
MFH: fix leaks in get_meta_tags() when used with b0rked HTML
...
add test
2006-11-13 20:18:12 +00:00
Antony Dovgal
c301119fdf
MFH: improve the fix and the test
2006-11-13 19:32:58 +00:00
Hannes Magnusson
5d92b4281f
It's called addEmptyDir(), not createEmptyDir()
2006-11-13 18:30:59 +00:00
Ilia Alshanetsky
941c036297
Fixed bug #36644 (possible crash in variant_date_from_timestamp()).
2006-11-13 15:33:26 +00:00
Dmitry Stogov
682bbf19ef
Use symbolic names
2006-11-13 15:13:20 +00:00
Antony Dovgal
69e0c84522
MFH
2006-11-13 15:00:05 +00:00
Antony Dovgal
a2a20556d8
new test
2006-11-13 14:51:11 +00:00
Antony Dovgal
60a2df7db2
add a note that libxml2 2.6.2x is required
2006-11-13 12:54:04 +00:00
Antony Dovgal
79e4f5fd22
MFH: fix compile warning
2006-11-13 12:49:28 +00:00
Antony Dovgal
b5b8fa4f6b
fix test
2006-11-13 12:47:43 +00:00
Dmitry Stogov
f00ee72c35
Fixed incorrect heap corruptiuon detection code
2006-11-13 10:28:46 +00:00
Hannes Magnusson
a27d73b13d
Add missing header installation..
2006-11-12 19:00:33 +00:00
Ilia Alshanetsky
6e9c7c4aa9
Fixed generated file
2006-11-12 17:55:44 +00:00
Ilia Alshanetsky
c32ed59e4e
Fixed a memory leak when named & positional params are being used in the
...
same query.
2006-11-12 17:49:19 +00:00
Hannes Magnusson
3bf35bbc15
MFH: SplFileObject no longer overwrites SplFileInfo::getFilename()
2006-11-12 17:35:09 +00:00
Ilia Alshanetsky
d4a64fba74
removed bogus char
2006-11-12 17:23:01 +00:00
Hannes Magnusson
1182b325c2
MFH: SplFileObject::getFilename() no longer overwrites SplFileInfo::getFilename()
...
(SplFileObject::getFilename() therefor only returns the filename now)
2006-11-12 17:16:13 +00:00
Ilia Alshanetsky
e0d385a328
Optimized array functions utilizing php_splice().
2006-11-12 17:13:22 +00:00
Marcus Boerger
d3bda9a516
- MFH: Correct comments
2006-11-12 15:58:17 +00:00
Hannes Magnusson
7b81e554ae
MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
2006-11-12 01:14:39 +00:00
Nuno Lopes
7d75155e01
fix leak in oo_stream.phpt
2006-11-12 00:41:16 +00:00
Nuno Lopes
c0b0d0a81a
fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt)
2006-11-12 00:31:03 +00:00
Nuno Lopes
232bb79bed
fix leaks within zip entries in several tests
2006-11-11 23:43:00 +00:00
Nuno Lopes
b3de830b61
fix leak in oo_setArchiveComment.phpt
2006-11-11 23:35:27 +00:00
Pierre Joye
8cb18e8d64
- fix leak in zip_close when the function's succeeded
2006-11-11 19:06:56 +00:00
Nuno Lopes
94404da606
fix the bug I introduced previously, sorry
...
anyway, convert the recursive version of the binary search to an iterative one
2006-11-10 23:27:11 +00:00
Antony Dovgal
88e827f3f1
MFH
2006-11-10 23:03:32 +00:00
Antony Dovgal
7563d4f573
fix possible issue with negative values in oci_set_prefetch
...
(reported by Chris Jones)
2006-11-10 20:13:36 +00:00
Andi Gutmans
d98a8aa589
- Fix typo
2006-11-10 18:51:05 +00:00
Nuno Lopes
ec46e5e510
mark a few variables and functions as static
2006-11-10 18:05:11 +00:00
Nuno Lopes
fe8e53f7a7
mark the binary search delimiters as unsigned, so that the compiler can use a quick shift operation
2006-11-10 17:32:15 +00:00
Dmitry Stogov
3011278aab
Fixed wrong realpath() result in case of unexistent path
2006-11-10 17:23:58 +00:00
Hannes Magnusson
16e6b2cf52
Fix tests
2006-11-10 17:04:03 +00:00
Dmitry Stogov
c06626d8c6
Fixed wrong realpath() result in case of unexistent path
2006-11-10 16:57:17 +00:00
Antony Dovgal
4106eee7c7
fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order
2006-11-10 16:33:41 +00:00
Dmitry Stogov
31bfc6e55b
Fixed bug #39454 (Returning a SOAP array segfaults PHP)
2006-11-10 15:05:22 +00:00
Dmitry Stogov
ce958eded5
stat() is reimplemented using using GetFileAttributesEx().
...
The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.
2006-11-10 15:04:07 +00:00
Dmitry Stogov
40d3abba41
Fixed tests
2006-11-10 14:20:26 +00:00
Dmitry Stogov
daed379550
Removed unnecessary ftell() calls (one call for each included PHP file)
2006-11-10 13:18:35 +00:00
Dmitry Stogov
f22ae56bc9
Disabled reading from stream (calls to read()) after EOF
2006-11-10 13:10:16 +00:00
Dmitry Stogov
f05ed6390c
VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR
2006-11-10 12:59:27 +00:00
Derick Rethans
140edac7f9
- Forward port the binary cast, which will do the same as the string cast in
...
PHP 5.2.
2006-11-10 12:02:51 +00:00
Dmitry Stogov
a4a77d3f91
Intialization code is moved from request startup to module startup
2006-11-10 12:02:10 +00:00
Dmitry Stogov
011e0cde62
Start timiout thread on Windows only if necessary
2006-11-10 11:49:35 +00:00
Dmitry Stogov
532b02cd19
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.
2006-11-10 11:42:07 +00:00
Dmitry Stogov
41c81f20e1
opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext
2006-11-10 11:20:48 +00:00
Dmitry Stogov
a5f951f27c
Removed unnecessary checks for ISREG file and corresponding stat() calls on Windows
2006-11-10 10:55:26 +00:00
Dmitry Stogov
ab5268fc84
typo
2006-11-10 10:47:52 +00:00
Dmitry Stogov
f1b6587ebb
Zend Memory Manager Improvements
...
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default
2006-11-10 10:44:40 +00:00
Dmitry Stogov
fedc06d290
Fix warnings
2006-11-10 10:38:07 +00:00
Dmitry Stogov
bcfc501ca6
Use $(CC) for linking instead of $(LD). This allows usage of advansed optimization techniques (like Intel's inner-procedure optimization)
2006-11-10 10:30:46 +00:00
Dmitry Stogov
a930751112
Faster and better licensed implementation
2006-11-10 10:10:38 +00:00
Dmitry Stogov
9fd2b6deb4
Simplify the code base as this getpwd() was used only once
2006-11-10 09:56:16 +00:00
Ilia Alshanetsky
126be8ec7c
Added missing API declarations.
2006-11-10 01:28:59 +00:00
Ilia Alshanetsky
f06762b361
Fixed pecl bug #9179 (phpversion("filter") shows wrong version).
2006-11-10 01:08:17 +00:00
Ilia Alshanetsky
ddae41877f
Added missing PHPAPI declaration
2006-11-09 20:01:41 +00:00
Ilia Alshanetsky
b3006ed2a5
Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
...
ErrorDocument).
2006-11-09 19:10:13 +00:00
Nuno Lopes
fb06fa19e3
fix test for non English guys
2006-11-09 16:38:28 +00:00
Nuno Lopes
98dd25e04c
fix an invalid read + invalid free()
2006-11-09 16:33:07 +00:00
Nuno Lopes
d6802e1022
statification of local functions and variables.
...
also remove a few uneeded global variables
interesting new warnings:
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
2006-11-09 16:04:34 +00:00
Hannes Magnusson
371400ae15
Add "As of 5.2.1" notes as requested
2006-11-09 12:35:12 +00:00
Hannes Magnusson
4989f0d899
New features/errormsgs/return values in ext/zip
...
New optional parameter in ext/ming
2006-11-09 11:44:13 +00:00
Frank M. Kromann
87b412dc3a
Revert patch for warnings about missing headers. These are fixed in the latest version of libming.
...
Sync code for SWFMovie::streamMP3. This function will now return the number of frames in the file.
2006-11-09 09:19:21 +00:00
Dmitry Stogov
25f01e8ec3
Fixed tests
2006-11-09 08:29:18 +00:00
Ilia Alshanetsky
e5f9b479af
Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version).
2006-11-09 00:13:26 +00:00
Antony Dovgal
1f061b3154
fix #39300 (make install fails if wget is not available)
...
add support of 'fetch'
2006-11-08 19:05:41 +00:00
Dmitry Stogov
cc895444b1
HashTable copying optimization (Matt Wilmas)
2006-11-08 16:02:03 +00:00
Dmitry Stogov
41ae8de136
Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array).
2006-11-08 13:38:28 +00:00
Dmitry Stogov
a84a2eae6a
Fixed bug #39344 (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry)
2006-11-08 11:04:27 +00:00
Dmitry Stogov
84b9dcb73f
Fixed bug #38536 (SOAP returns an array of values instead of an object)
2006-11-08 10:05:19 +00:00
Ilia Alshanetsky
d6b3b73490
Fixed tests
2006-11-07 20:24:38 +00:00
Ilia Alshanetsky
6e30ea1e3f
BFN
2006-11-07 20:24:04 +00:00
Ilia Alshanetsky
cb96148912
Fixed bug #33282 (Re-assignment by reference does not clear the is_ref flag)
...
# Original patch by Matt Wilmas
2006-11-07 20:23:30 +00:00
Ilia Alshanetsky
887b3484f7
Fixed bug #39398 (Booleans are not automatically translated to integers).
2006-11-07 17:57:17 +00:00
Johannes Schlüter
c65a1f10cb
- MFH: No C++ comments ( fix #39414 )
2006-11-07 15:19:11 +00:00
Hannes Magnusson
69dbaaacac
MFH: arginfo fixes
2006-11-06 23:20:11 +00:00
Rasmus Lerdorf
cdf8494879
It is allow_url_include not allow_fopen_include
2006-11-06 18:21:25 +00:00
Ilia Alshanetsky
07cdfefdee
Fixed bug #39350 (crash with implode("\n", array(false))).
2006-11-06 17:21:05 +00:00
Hannes Magnusson
4cb16d8328
include php://input && data: have been disabled (with allow_fopen_include off)
...
new DateTime(new stdclass) now throws exception
imap_[re]open() has new optional parameter
2006-11-06 16:51:55 +00:00
Ilia Alshanetsky
5cc7f616c9
param parsing fix
...
# Thanks Hannes
2006-11-06 16:44:03 +00:00
Dmitry Stogov
7b8f30adcb
Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client)
2006-11-06 16:36:43 +00:00
Hannes Magnusson
c263929002
MFH: throw exception on invalid parameters
2006-11-06 16:11:26 +00:00
Hannes Magnusson
c32408e694
MFH: fix segfault & improve test
2006-11-06 15:21:45 +00:00
Dmitry Stogov
82f89748a4
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
2006-11-06 14:54:52 +00:00
Dmitry Stogov
95fbb9514e
MFH: Fixed decoding list of arrays (related to bug #39121 )
2006-11-06 13:22:49 +00:00
Rasmus Lerdorf
cea64d52fa
data: and php:stdin/input allow_url_include checks
2006-11-05 20:08:58 +00:00
Ilia Alshanetsky
86a6812dbb
Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the
...
number of connection retries).
2006-11-05 18:31:41 +00:00
Pierre Joye
00f0e92dee
- gdpng entry
2006-11-05 15:08:50 +00:00
Pierre Joye
5784602544
- Merge from gd-cvs, initialize the signature not the infile ctx
...
NB: good that we don't use getC :)
2006-11-05 15:04:50 +00:00
Marcus Boerger
79946dc8a0
- MFH: Make parameter parsing api check happy
2006-11-04 20:46:32 +00:00
Rasmus Lerdorf
c8778c73c3
Mark memory streams as is_url
2006-11-04 20:43:28 +00:00
Marcus Boerger
15592390c5
- MFH Store length of autoload file exts
2006-11-04 20:27:28 +00:00
Frank M. Kromann
9df320c423
Fix win32 build
2006-11-04 17:25:14 +00:00
Pierre Joye
4e257c03a1
- WS
2006-11-04 14:34:33 +00:00
Pierre Joye
29242cfab9
- MFH: optimize horizontal and vertical lines
2006-11-04 14:27:07 +00:00
Hannes Magnusson
7b15d02b99
Fix build
2006-11-04 13:03:56 +00:00
Pierre Joye
d05ef39c74
- MFH #39366 , imagerotate does not use alpha with angles>45
2006-11-04 03:15:31 +00:00
Pierre Joye
59841dd25c
- #39273 entry
2006-11-04 02:24:53 +00:00
Pierre Joye
541f9940ac
- #39273 , imagecopyresized and alpha channel
2006-11-04 02:21:06 +00:00
Pierre Joye
b867123e30
- News entry for zip MFH
2006-11-04 00:09:04 +00:00
Ilia Alshanetsky
6f0a9d6f76
wrong bug #
2006-11-03 20:38:21 +00:00
Ilia Alshanetsky
6516d8e1d6
Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
...
php_filter.h)
2006-11-03 20:08:38 +00:00
Ilia Alshanetsky
4f3889d5bf
Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()).
2006-11-03 19:55:51 +00:00
Marcus Boerger
f7948f7fef
- BFN
2006-11-03 19:04:19 +00:00
Marcus Boerger
17b675132b
- Fix version
2006-11-03 19:03:25 +00:00
Marcus Boerger
da8b00a5e4
- MFH: Fixed bug #39320
2006-11-03 19:02:16 +00:00
Marcus Boerger
978dd0fdd9
- MFH: Fix issue with some mangeled properties
2006-11-03 19:01:40 +00:00
Marcus Boerger
2820e9cf1e
- MFH: Fixed bug #38698
2006-11-03 19:00:46 +00:00
Marcus Boerger
76ba475d76
- MFH: Synch
2006-11-03 18:58:41 +00:00
Marcus Boerger
76b73a6ff2
- MFH: Include new headers only if present
2006-11-03 18:57:50 +00:00
Hannes Magnusson
49c109693a
Add "comment" to make tracking the commit down easier
2006-11-03 18:07:53 +00:00
Pierre Joye
8ad0c6d543
- MFH:
...
- fix possible leak in statName and statIndex
- add addEmptyDir() method
- add zip_stat_init,zip_clear_error and zip_file_clear_error
- add tests
- Fix protos (Hannes)
- setComment return value on success (Hannes)
2006-11-03 16:46:19 +00:00
Pierre Joye
c002606a88
- fix build (var.s is for zstr)
2006-11-03 16:40:52 +00:00
Hannes Magnusson
b11b08e987
MFH: fix parameter parsing in getrusage()
2006-11-03 15:48:39 +00:00
Hannes Magnusson
4deb09e72e
Generated file
2006-11-03 15:41:09 +00:00
Hannes Magnusson
5006fb2ceb
MFH: Fix double "wrong param count" messages
2006-11-03 15:13:17 +00:00
Hannes Magnusson
91c604d584
MFH: Add "wrong param" warning to strtotime()
2006-11-03 15:06:51 +00:00
Ilia Alshanetsky
0c7e63a07e
Fixed bug #39354 (Allow building of curl extension against libcurl 7.16.0)
2006-11-03 14:53:14 +00:00
Hannes Magnusson
ace3f94d20
MFH: Fix test
2006-11-03 14:51:02 +00:00
Hannes Magnusson
050f94f746
MFH: Fix double "wron param count" messages
2006-11-03 14:46:48 +00:00
Hannes Magnusson
11c47dc510
MFH: oneliners..
2006-11-03 14:38:45 +00:00
Hannes Magnusson
07a16d19e0
MFH: use PHP_ME_MAPPING rather than ZEND_NAMED_FE/ZEND_FN
2006-11-03 14:36:11 +00:00
Hannes Magnusson
4f4e724b1b
MFH: Remove SKIPIF
2006-11-03 14:17:40 +00:00
Hannes Magnusson
bece30aee5
MFH: fix crash on invalid regex
2006-11-03 14:11:23 +00:00
Hannes Magnusson
9445a302ae
MFH: missing includes
2006-11-03 14:06:59 +00:00
Ilia Alshanetsky
7ce23de84c
Filter extension news
2006-11-03 13:54:49 +00:00
Ilia Alshanetsky
683f81f195
MFH: Fixed a possible crash when callback function returns a non-modified
...
value
2006-11-03 13:53:24 +00:00
Ilia Alshanetsky
6123f11021
MFH:
...
Added filter support for $_SERVER in cgi/apache2 sapis
Make sure PHP_SELF is filtered in Apache 1 sapi
2006-11-03 13:51:48 +00:00
Ilia Alshanetsky
bd2ab7bc15
Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr).
2006-11-03 13:34:19 +00:00
Ilia Alshanetsky
3f71251ffa
MFH: Fixed bug #39265 (Fixed path handling inside mod_files.sh).
2006-11-03 13:19:07 +00:00
Ilia Alshanetsky
57f295d3a6
Fixed bug #38680 (Added missing handling of basic types in json_decode).
...
# already in HEAD
2006-11-03 13:16:33 +00:00
Derick Rethans
7b48ca584c
- Fixed API in doc.
2006-11-03 07:27:52 +00:00
Rui Hirokawa
501025306c
fixed illegal encoding detection when mbstring.encoding_translation is enabled.(made by komura)
2006-11-03 02:26:50 +00:00
Rui Hirokawa
96d597b6a4
added japanese legacy encoding support (made by moriyama@miraclelinux.com)
2006-11-03 01:11:35 +00:00
Ilia Alshanetsky
3a533934c7
Added missing boundary checks.
2006-11-01 01:55:11 +00:00
Ilia Alshanetsky
bc32d6b5cd
Cleanup of 5.2 update file from Steph
2006-10-31 17:24:51 +00:00
Ilia Alshanetsky
8045c6bff8
Back to dev
2006-10-30 23:08:30 +00:00
Ilia Alshanetsky
d584c0a6f4
Fixed year
2006-10-30 23:07:28 +00:00
Ilia Alshanetsky
b48fa87e8b
5.2.0
2006-10-30 23:06:22 +00:00
Ilia Alshanetsky
13342afe94
Prep news file for 5.2
2006-10-30 22:28:36 +00:00
Rasmus Lerdorf
228bb9e7ff
Pierre requested an update to this. I don't think it makes sense to
...
remove what little API docs we have here, and the simple example in this
doc is a lot easier to follow than ext/filter.
2006-10-30 17:11:02 +00:00
Dmitry Stogov
7ff822ee49
Fixed bug #39304 (Segmentation fault with list unpacking of string offset)
2006-10-30 11:05:00 +00:00
Uwe Schindler
94b24ef2dd
update news
2006-10-27 09:02:54 +00:00
Uwe Schindler
3cfbbc0635
MFH: update readme
2006-10-27 07:29:51 +00:00
Uwe Schindler
841bac014a
Fix build in Sun Webserver 7 (should be in 5.2.0, it's not critical but does not break mainstream sapis!!!)
2006-10-27 07:23:44 +00:00
Hannes Magnusson
a2f8b5f2ee
More curl constants
2006-10-25 12:58:46 +00:00
Hannes Magnusson
2d64114764
Add a note reffering to the "new feature" section (lukas)
2006-10-25 12:40:23 +00:00
Hannes Magnusson
1d0ebcd2cf
New extensions
...
- json
- filter
- zip
New classes
- DateTime
- DateTimeZone
New functions
- image_type_to_extension
- gmp_nextprime
- xmlwriter_full_end_element
- xmlwriter_write_raw
- timezone_identifiers_list
Added error message (objects without casting handler) caught by rasmus
2006-10-25 12:19:13 +00:00
Hannes Magnusson
5bb0ac0d2a
Silly me. those PDO constants are class constants
...
#thanks ilia \o/
2006-10-24 21:51:15 +00:00
Hannes Magnusson
a9cb3dd17f
New constants
2006-10-24 21:43:51 +00:00
Hannes Magnusson
a7c925d6e1
New INI entrys
...
php-cli searching php.ini "bc break"
2006-10-24 21:32:29 +00:00
Hannes Magnusson
b5aa4dffbe
session_set_cookie_params new param
2006-10-24 21:16:24 +00:00
Hannes Magnusson
faac1bbe15
mention php_errormsg bc break..
2006-10-24 21:08:53 +00:00
Hannes Magnusson
57e2fc546e
Add sections: backwards incompatible error messages & new functions/methods/classes/constants/optional parameters
2006-10-24 20:54:07 +00:00
Dmitry Stogov
4629cc0bf6
Revert patch because we are at last RC stage.
2006-10-24 05:20:50 +00:00
Dmitry Stogov
fc22c9dd50
Fixed decoding of list of arrays in non-WSDL mode. (releated to bug #39121 )
2006-10-23 06:46:38 +00:00
Antony Dovgal
5af7f12eb8
fix ZTS build without SPL enabled
2006-10-20 21:28:31 +00:00
Hannes Magnusson
f8e4467725
Fix test
2006-10-20 14:42:37 +00:00
Ilia Alshanetsky
2ca717905e
Back to dev
2006-10-20 13:15:35 +00:00
Ilia Alshanetsky
3b1e299264
Make use of abstract methods be E_STRICT rather then E_ERROR
2006-10-20 02:44:26 +00:00
Sara Golemon
3042386549
MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context
2006-10-20 02:11:19 +00:00
Ilia Alshanetsky
f85d9885d3
5.2.0RC6
2006-10-20 01:51:07 +00:00
Antony Dovgal
0cf7b1012f
add new test by Pierre
2006-10-19 12:07:07 +00:00
Dmitry Stogov
770b29803c
Fixed mkdir("/tmp/foo//bar/log", 0777, true)
2006-10-19 09:49:44 +00:00
Ilia Alshanetsky
76f23d4dcf
Fixed bug #38400 (Use of com.typelib_file may cause a crash).
2006-10-18 23:47:33 +00:00
Antony Dovgal
c79ba67673
MFH: fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP)
2006-10-18 20:58:23 +00:00
Johannes Schlüter
2193a77eed
- Here, too
2006-10-18 17:17:18 +00:00
Johannes Schlüter
6841110122
- MFH: added missing return...
2006-10-18 17:04:49 +00:00
Johannes Schlüter
dcf249004c
- MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self::
2006-10-18 16:35:15 +00:00
Hannes Magnusson
b99ba323d5
MFH: fix arginfo
2006-10-18 16:04:37 +00:00
Antony Dovgal
91a1333c21
MFH: fix PECL bug #9061 (oci8 might reuse wrong persistent connection)
2006-10-18 14:23:23 +00:00
Antony Dovgal
16877a5ad8
fix test
2006-10-17 22:05:16 +00:00
Derick Rethans
1fa009d1ca
- Updated timezone database.
2006-10-17 17:08:03 +00:00
Ilia Alshanetsky
c5d68cd1df
Unify handling of return values on validation failure and var not found
2006-10-17 15:26:14 +00:00
Antony Dovgal
0ebfbfe791
MFH: initialize optional vars
2006-10-16 19:27:57 +00:00
Ilia Alshanetsky
2245901f6f
Fixed compiler warnings
2006-10-16 15:39:39 +00:00
Dmitry Stogov
31acd1c26e
Fixed bug #39140 (Uncaught exception may cause crash)
2006-10-16 11:13:08 +00:00
Dmitry Stogov
bf95b64376
Fixed bug #39020 (PHP in FastCGI server mode crashes)
2006-10-16 10:46:59 +00:00
Antony Dovgal
268984b478
fix compile warning
2006-10-15 21:09:27 +00:00
Hannes Magnusson
b3a914aca8
Fix test (bug#39097)
2006-10-15 13:43:45 +00:00
Hannes Magnusson
8104df0547
Remove bogus ini entry
2006-10-14 15:06:11 +00:00
Antony Dovgal
3bd0f950da
fix win32 build
2006-10-13 14:26:34 +00:00
Hannes Magnusson
942b11a581
fix test
2006-10-13 09:59:21 +00:00
Hannes Magnusson
e4bdd6fcba
Added missing API function declaration.
2006-10-13 09:34:34 +00:00
Ilia Alshanetsky
bc59416ff2
Fixed bug #38934 (move_uploaded_file() cannot read uploaded file outside of
...
open_basedir).
2006-10-13 01:42:20 +00:00
Ilia Alshanetsky
8bd16e2b58
Improve open_basedir checks
2006-10-13 01:11:30 +00:00
Brian France
33879eceb3
Memory assigned to the request_rec should be allocated from apache pools
...
and should not be free'ed at the end of the handler phase
2006-10-12 20:02:58 +00:00
Antony Dovgal
d087c87ffe
MFH: use connection charset when reading LOB data
2006-10-12 10:04:12 +00:00
Dmitry Stogov
e6fd66facb
Make zend_memory_peak_usage() to be avalable even without --enable-memory-limit
2006-10-12 06:46:51 +00:00
Ilia Alshanetsky
8b8eb2cf88
Fixed potential use of un-initialized var (detected by Coverity)
2006-10-12 01:05:09 +00:00
Antony Dovgal
24b2efa342
fix test
2006-10-11 23:45:31 +00:00
Sara Golemon
3efc863435
BFN
2006-10-11 23:36:32 +00:00
Sara Golemon
adf31588d2
MFH(r-1.96) Bugfix#38649 Optional param not initialized
2006-10-11 23:22:45 +00:00
Sara Golemon
d8fc0ccfe1
MFH(r-1.38) Bugfix 38648: Don't assume all buckets are part of a brigade
2006-10-11 23:11:26 +00:00
Pierre Joye
3d3395df3a
- imagecreatefrompng(emptyfile) fix entry
2006-10-11 18:27:42 +00:00
Antony Dovgal
630024d895
MFH
2006-10-11 16:11:56 +00:00
Antony Dovgal
aeec5b4b68
MFH: fix #39125 (Memleak when reflecting non-existing class/method)
2006-10-11 15:52:56 +00:00
Antony Dovgal
e20650616e
add test
2006-10-11 14:57:52 +00:00
Ilia Alshanetsky
9809628544
s/false/null/
2006-10-11 14:55:57 +00:00
Derick Rethans
0a3b663a1b
- MFH: Change validating filters to return "null" on failure so that they can be
...
distinguised from the value "false" which might be valid as well.
2006-10-11 14:49:13 +00:00
Antony Dovgal
14b168fcab
MFH: check filter and class names for empty strings
2006-10-11 14:46:40 +00:00
Ilia Alshanetsky
a39201675f
Catch empty strings right away.
2006-10-11 14:19:55 +00:00
Antony Dovgal
9b7ba01618
MFH: avoid reading str[-1], add warning when invalid format specified
...
add test
2006-10-11 13:15:30 +00:00
Antony Dovgal
1cc0339d40
MFH: fix crash when parsing invalid hostnames/IPs
2006-10-11 12:53:56 +00:00
Antony Dovgal
2f467baf94
MFH
2006-10-11 11:53:02 +00:00
Antony Dovgal
a81eae5d01
MFH: fix segfault/leak, add test
2006-10-11 11:09:42 +00:00
Edin Kadribasic
9f5de3bb5c
Sync with Unix build
2006-10-11 11:00:03 +00:00
Wez Furlong
88f9dc9639
BFN
2006-10-11 03:23:51 +00:00
Wez Furlong
20949c497b
BFN
2006-10-11 03:09:55 +00:00
Wez Furlong
3028f7465d
Fix for PECL #7755 ; use the displayable column width as the basis for our
...
buffer size, as the raw column size can be too small when requesting
a string representation.
Also fix up bogus error output when fetching, and another one of the test
cases to make it run against SQL Server 2005.
2006-10-11 03:07:29 +00:00
Wez Furlong
897b9ffca5
BFN
2006-10-11 02:14:09 +00:00
Wez Furlong
391ed04adb
Fix for PECL bug #8944 . Could also be the same problem as pecl #7775 .
2006-10-11 02:10:56 +00:00
Pierre Joye
ea2d32381d
- don't check signature if the file is empty (valgrind reports with test
...
001), thx Tony for the head up
2006-10-11 00:19:12 +00:00
Ilia Alshanetsky
03641dcea4
Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty
...
files).
2006-10-10 23:12:59 +00:00
Antony Dovgal
7b58554f82
MFH: access mode for dbase_open() cannot be < 0
2006-10-10 23:01:23 +00:00
Antony Dovgal
5866ef42e6
add new test
2006-10-10 22:37:43 +00:00
Antony Dovgal
cb90d3ce76
MFH: fix leak and typos in error messages
2006-10-10 22:22:43 +00:00
Antony Dovgal
11235cff7b
missing variable initialization
2006-10-10 22:03:27 +00:00
Ilia Alshanetsky
df5c300303
Fixed bug #38198 (possible crash when COM reports an exception).
2006-10-10 17:32:50 +00:00
Antony Dovgal
b4974d5e68
MFH: fix #39112 (typo in error message)
2006-10-10 12:44:02 +00:00
Ilia Alshanetsky
3890ca3fcb
Improve parameter parsing
2006-10-09 19:48:13 +00:00
Ilia Alshanetsky
7b77d536c3
Fixed bug #37262 (var_export() does not escape \0 character).
2006-10-09 18:08:34 +00:00
Ilia Alshanetsky
527c5a6126
Proper name for credits
2006-10-09 16:20:46 +00:00
Hannes Magnusson
e94670d4d6
MFH tests
2006-10-09 16:02:34 +00:00
Antony Dovgal
20fc2d4274
improve SKIPIF condition
2006-10-09 13:20:46 +00:00
Antony Dovgal
7b2a5bf0c6
BFN
2006-10-09 09:37:10 +00:00
Antony Dovgal
3a48a290a0
MFH: fix PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column)
...
patch by jeff at badtz-maru dot com
2006-10-09 09:34:55 +00:00
Pierre Joye
fa8f1151aa
- fix possible segfault (see test 004) always exists and returns NULL on
...
error
2006-10-09 00:04:11 +00:00
Ilia Alshanetsky
f850285c40
Added missing configuration checks
2006-10-08 22:38:48 +00:00
Pierre Joye
895aa7d7f7
- #39082 , image* segfaults when used with only one argument
...
(introduced in 5.2+, no news entry)
2006-10-08 17:36:10 +00:00
Ilia Alshanetsky
98b16064b4
Added missing safety checks (Problem identified by Coverity scan)
2006-10-07 19:59:19 +00:00
Ilia Alshanetsky
12f7021e12
Added missing safety checks (Problem identified by Coverity scan)
2006-10-07 19:40:58 +00:00
Sara Golemon
34ed116e90
MFH(r-1.356) Don't assume the array elements are arrays too
2006-10-07 16:40:39 +00:00
Antony Dovgal
e43519e914
BFN
2006-10-07 09:34:12 +00:00
Ilia Alshanetsky
b43e18a70e
Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible for
...
binary strings.
2006-10-06 22:34:16 +00:00
Ilia Alshanetsky
fab29dcbcf
Make pg_escape_bytea() use PQescapeByteaConn() whenever possible.
2006-10-06 21:45:10 +00:00
Ilia Alshanetsky
7f75be9fb9
back to dev
2006-10-06 21:36:07 +00:00
Ilia Alshanetsky
b1d8f7e09d
Expose session storage module locater and serialization function via PHPAPI
2006-10-06 21:11:36 +00:00
Ilia Alshanetsky
f815a4ef10
modulo 0 news entry
2006-10-06 21:03:35 +00:00
Antony Dovgal
3a4603b4b0
more improvements
2006-10-06 18:03:19 +00:00
Antony Dovgal
d917bf084c
MFH: fix #39067 (getDeclaringClass() and private properties)
2006-10-06 17:35:32 +00:00
Sara Golemon
eed736d010
MFH(r-1.376): Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts()
...
Reapplying this since it looks like we'll be doing a PHP 5.2 RC6 after all
2006-10-06 16:50:21 +00:00
Antony Dovgal
24195cf941
re-add the test
2006-10-06 14:50:46 +00:00
Antony Dovgal
58b858287b
MFH: fix #39060 (virtual_file_ex() is broken on *BSD)
2006-10-06 14:03:19 +00:00
Edin Kadribasic
2f738dd440
BFN
2006-10-06 12:53:15 +00:00
Edin Kadribasic
480e788d95
Fix for #38985 (Wez)
2006-10-06 12:23:30 +00:00
Sebastian Bergmann
f74b1ec9b0
Fix ZTS build.
2006-10-06 03:48:00 +00:00
Sara Golemon
fd9b7f672b
Revert until 5.2's release since we're in RC stage
2006-10-06 00:02:56 +00:00
Sara Golemon
67fac322af
MFH(r-1.376): Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts()
2006-10-05 23:32:52 +00:00
Antony Dovgal
b37dd23c35
<tony2001> ilia: are you serious?
...
<ilia> tony2001: yes
2006-10-05 20:28:15 +00:00
Antony Dovgal
e2999137a7
add test
2006-10-05 19:49:43 +00:00
Ilia Alshanetsky
9ebb3f127e
5.2.0RC5
2006-10-05 19:49:03 +00:00
Andrei Zmievski
e779c3aa36
Increment replace count value for case-sensitive single char searches.
2006-10-05 18:23:19 +00:00
Hannes Magnusson
93909bb30e
- nuke unused variable
...
- "prefer" two arguments
- only print "wrong parameter count" once
2006-10-05 16:02:29 +00:00
Antony Dovgal
a5d86612e3
MFH: decrement ch->uses (or destroy handle) when destroying multi handle
2006-10-05 15:06:40 +00:00
Antony Dovgal
864f182def
fix build with new version of c-client
2006-10-05 14:25:41 +00:00
Dmitry Stogov
58eeb00bb3
CRLF->CR
2006-10-05 12:09:58 +00:00
Edin Kadribasic
e09a5c2972
Library updates
2006-10-05 11:17:56 +00:00
Edin Kadribasic
a290cef01c
Added PQescapeStringConn support to windows too
2006-10-05 11:13:31 +00:00
Dmitry Stogov
ff3dfa94dd
Allow future extensibility without binary compatibility break
2006-10-05 08:08:57 +00:00
Dmitry Stogov
cb1f58e39d
Fixed bug #38989 (Absolute path with slash at beginning doesn't work on win)
2006-10-05 08:03:11 +00:00
Ilia Alshanetsky
0d9f9b67b7
Fixed bug #39039 (SSL: fatal protocol error when fetching HTTPS from
...
servers running Google web server).
2006-10-05 00:38:02 +00:00
Ilia Alshanetsky
40765184be
Added support for character sets in PDO quote() method for PostgreSQL
...
8.1.4 and higher.
2006-10-04 23:53:36 +00:00
Ilia Alshanetsky
e8c70bfa99
Added support for character sets in pg_escape_string() for PostgreSQL
...
8.1.4 and higher.
2006-10-04 23:27:03 +00:00
Ilia Alshanetsky
9230cf3da6
Fixed missing open_basedir check inside chdir() function.
2006-10-04 23:19:25 +00:00
Antony Dovgal
dc22b7d4a5
add test
2006-10-04 13:35:51 +00:00
Antony Dovgal
5cdb9128ae
MFH
2006-10-04 13:30:53 +00:00
Antony Dovgal
bb5986b8a3
MFH
2006-10-04 13:24:19 +00:00
Antony Dovgal
8d2406f448
add missing ifdef
2006-10-04 13:02:36 +00:00
Edin Kadribasic
38772455a4
Update credits
2006-10-04 12:51:33 +00:00
Rob Richards
bbf89ba3a8
BFN
2006-10-04 12:04:32 +00:00
Rob Richards
7a2a383a9f
fix bug #39035 (Compatibilty issue between DOM and ze1_compatibility_mode
2006-10-04 12:02:49 +00:00
Pierre Joye
201d790899
- used only in HEAD
2006-10-04 12:02:46 +00:00
Pierre Joye
7883814424
- wrong definition
2006-10-04 11:48:04 +00:00
Antony Dovgal
f0bb2a0c9b
fix typo
2006-10-04 11:20:14 +00:00
Antony Dovgal
d8648eae57
MFH: fix #39032 (strcspn() stops on null character)
2006-10-04 11:14:32 +00:00
Pierre Joye
f72c1a1224
- more tests for the last commits
2006-10-03 23:32:33 +00:00
Ilia Alshanetsky
c67068b52b
Shoehorn myself into the credits.
2006-10-03 22:18:08 +00:00
Ilia Alshanetsky
557838efa4
Last set of zend_hash_init() optimizations
2006-10-03 19:51:01 +00:00
Antony Dovgal
8e1c9371bb
MFH: throw a warning when doing modulus by 0 (fr #39027 )
2006-10-03 17:54:51 +00:00
Ilia Alshanetsky
8581c7328f
optimize zend_hash_init() with known hash table sizes.
2006-10-03 17:41:47 +00:00
Hannes Magnusson
59fabbb464
MFH: compact() doesnt throw "wrong param count"
2006-10-03 16:37:51 +00:00
Ilia Alshanetsky
f876d0bf2a
Fixed handling of FILTER_FORCE_ARRAY
2006-10-03 15:34:50 +00:00
Hannes Magnusson
9bff1e24b5
pg_send_prepare(), pg_send_query_params() & pg_send_execute() do not throw "Wrong parameter count"
2006-10-03 15:21:47 +00:00
Pierre Joye
a7ccaa5ec7
- vi folding, ws
2006-10-03 11:42:23 +00:00
Dmitry Stogov
c1ad451c3e
Speedup array/HashTable copying. (Matt W)
2006-10-03 11:10:33 +00:00
Dmitry Stogov
7c78500d96
Fixed bug #38942 (Double old-style-ctor inheritance)
2006-10-03 09:59:07 +00:00
Dmitry Stogov
9875fe44e2
Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults)
2006-10-03 09:05:14 +00:00
Antony Dovgal
6212757595
fix test
2006-10-03 08:44:01 +00:00
Dmitry Stogov
9dcdfd993f
Fixed memory leak (Nuno)
2006-10-03 07:30:46 +00:00
Dmitry Stogov
99356595df
Fixed possible crash with default namespaces
2006-10-03 07:00:35 +00:00
Michael Wallner
e7b80e8368
- fix (ZTS) build
2006-10-03 05:57:52 +00:00
Ilia Alshanetsky
80cecdb41f
Refactor the filter extension
...
- Cleanup API
- Added handling for circular references
- Renamed functions.
# Original patch by Pierre
2006-10-03 02:16:53 +00:00
Antony Dovgal
588c45ea8d
MFH: fix #38996 (PDO_MYSQL doesn't check connections for liveness)
2006-10-02 22:09:49 +00:00
Antony Dovgal
b8fc77bd13
MFH: the last part of the fix for #39004
2006-10-02 20:49:23 +00:00
Andrei Zmievski
5c96544b7d
Use php_error_docref() instead.
2006-10-02 20:07:14 +00:00
Andrei Zmievski
007c6ff8d9
More offset fixes. Added E_NOTICE where appropriate.
2006-10-02 19:58:15 +00:00
Andrei Zmievski
c36d94aac2
Fix invalid memory access in strrpos().
2006-10-02 19:42:42 +00:00
Antony Dovgal
9c1b3c6d88
fix the fix for #39004
2006-10-02 19:17:53 +00:00
Ilia Alshanetsky
cb312d43bf
Fixed bug #39004 (Fixed generation of config.nice with autoconf 2.60).
2006-10-02 15:34:38 +00:00
Antony Dovgal
9d0f642689
fix tests
2006-10-02 14:31:04 +00:00
Hannes Magnusson
8acdfd223f
Rename utils.php to utils.inc
2006-10-02 14:17:47 +00:00
Antony Dovgal
c356ad3b65
MFH: #39001 (ReflectionProperty returns incorrect declaring class for protected properties)
2006-10-02 12:16:35 +00:00
Antony Dovgal
2b1b2db8ec
MFH: fix #39003 (__autoload() is called for type hinting)
2006-10-02 11:09:52 +00:00
Hannes Magnusson
b806546e95
Fix test
...
#failes atm...
2006-10-02 08:36:35 +00:00
Hannes Magnusson
2e56aa6dfd
Initial commit..
2006-10-02 07:59:45 +00:00
Hannes Magnusson
39219cf7fe
protos
2006-10-02 07:58:13 +00:00
Hannes Magnusson
3611a3de4a
Fix protos
2006-10-02 07:44:34 +00:00
Hannes Magnusson
6a4dca06e6
Fix proto
2006-10-02 07:36:18 +00:00
Ilia Alshanetsky
154f70acf1
Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
...
session.save_path, allowing them to account for extra parameters).
2006-10-01 20:58:02 +00:00
Rui Hirokawa
bd088df90c
fixed bug #37103 : libmbfl headers was not installed correctly.
2006-10-01 08:34:39 +00:00
Ilia Alshanetsky
4fd88b23cc
Added safety checks against integer overflow.
2006-09-30 17:12:06 +00:00
Ilia Alshanetsky
3ae8d67002
Added missing API function declaration.
2006-09-29 22:35:47 +00:00
Ilia Alshanetsky
01898e0f33
Added missing declaration of the php_get_uname() PHPAPI function.
2006-09-29 21:40:16 +00:00
Hannes Magnusson
281536e866
fix protos
2006-09-29 13:11:28 +00:00
Hannes Magnusson
30b18b7bb7
fix arginfo
2006-09-29 12:29:21 +00:00
Antony Dovgal
7df7d2b4df
MFH
2006-09-29 12:18:58 +00:00
Stefan Esser
abfc08dc82
If one name is disallowed don't drop all files
2006-09-29 10:05:34 +00:00
Georg Richter
67d2992fdc
MFH: fixed error message
2006-09-29 08:40:10 +00:00
Antony Dovgal
5e34f6cf9e
MFH
2006-09-28 23:27:59 +00:00
Ilia Alshanetsky
66bdeaddb4
Fixed a large leak inside _php_image_create_from()
2006-09-28 23:17:31 +00:00
Antony Dovgal
d6eb64344d
MFH
2006-09-28 23:03:56 +00:00
Antony Dovgal
478d42a3ac
MFH
2006-09-28 22:33:06 +00:00
Hannes Magnusson
c504e6794f
add .libs to .cvsignore
2006-09-28 22:03:18 +00:00
Antony Dovgal
8c09e1ca40
fix test name
2006-09-28 22:02:04 +00:00
Hannes Magnusson
26cff956c4
Gah. these werent suppost to get committed atm
...
# Those do differ from -dist thought, if someone could write a line
# or two as to why they differ I would appreciate it!
2006-09-28 19:44:04 +00:00
Hannes Magnusson
adcb3615f0
Remove unused ini options
2006-09-28 19:37:59 +00:00
Hannes Magnusson
e3f68a64e7
Add new ini options
...
#feel free to add comments to it
2006-09-28 19:00:52 +00:00
Hannes Magnusson
69b7480147
bjori->Hannes
2006-09-28 17:10:14 +00:00
Ilia Alshanetsky
9e62f8b687
Added handling for virtual_file_ex() failures.
...
# Patch by Nuno
2006-09-28 15:48:35 +00:00
Ilia Alshanetsky
e919a873cd
Fixed bug #38859 (parse_url() fails if passing '@' in passwd).
2006-09-28 14:52:31 +00:00
Antony Dovgal
c0326fb1ce
BFN
2006-09-28 12:57:56 +00:00
Antony Dovgal
30a015a92f
MFH: fix #38981 (using FTP URLs in get_headers() causes crash)
2006-09-28 12:55:15 +00:00
Antony Dovgal
40924a6f6c
new tests
2006-09-28 12:03:49 +00:00
Hannes Magnusson
a327a6f737
fix test
2006-09-28 12:01:52 +00:00
Antony Dovgal
c119d63a9f
add new tests
2006-09-28 11:44:05 +00:00
Hannes Magnusson
f537599199
MFH: fix arginfo&proto
2006-09-28 11:32:30 +00:00
Rob Richards
2a452afb6d
fix some compiler warnings
2006-09-28 10:11:36 +00:00
Dmitry Stogov
4705155d13
Removed unused libfcgi
2006-09-28 09:37:52 +00:00
Pierre Joye
d9ae9d7cc8
- imagefill entry
2006-09-28 09:02:17 +00:00
Pierre Joye
cee0a7df24
- imagefill(), infinite loop with wrong color index
2006-09-28 08:48:02 +00:00
Antony Dovgal
646cfe11e1
MFH
2006-09-28 08:26:33 +00:00
Dmitry Stogov
dbae50bf13
Fixed wrong pipe detection code
2006-09-28 07:26:02 +00:00
Antony Dovgal
9c4e7a0743
initialize variable and make valgrind happy
2006-09-28 07:22:37 +00:00
Dmitry Stogov
ecd52167d7
Fixed wrong return value
2006-09-28 07:16:31 +00:00
Ilia Alshanetsky
5860f47122
Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()).
2006-09-27 23:44:13 +00:00
Antony Dovgal
47600225e1
MFH: use if() instead of ?:
2006-09-27 15:40:19 +00:00
Rob Richards
bc0bdadfdb
BFN
2006-09-27 10:32:49 +00:00
Rob Richards
b23dfcc3ad
fix bug #38949 (Cannot get xmlns value attribute)
...
add test
2006-09-27 10:31:24 +00:00
Antony Dovgal
a13937e5a2
fix test
2006-09-27 08:44:19 +00:00
Antony Dovgal
b805c9e089
MFH: fix #38961 (metaphone() results in segmentation fault on NetBSD)
2006-09-27 08:32:24 +00:00
Ilia Alshanetsky
4b286026c3
64bit fix (Possible fix for bug #38961 )
2006-09-26 15:40:45 +00:00
Dmitry Stogov
c3272ab020
Fixed bug #38808 ("maybe ref" issue for current() and others)
2006-09-26 10:30:51 +00:00
Dmitry Stogov
a04b6ed6bc
Fixed bug #38942 (Double old-style-ctor inheritance)
2006-09-26 07:55:21 +00:00
Ilia Alshanetsky
cc0d254e4f
Fixed bug #38891 (get_headers() do not work with curl-wrappers).
2006-09-25 16:00:43 +00:00
Ilia Alshanetsky
ccc25cc3eb
Fixed bug #38904 (apache2filter changes cwd to /).
2006-09-25 14:48:33 +00:00
Antony Dovgal
f36b3ca9ad
MFH: change CXXFLAGS along with CFLAGS as there might be C++ code
2006-09-25 11:05:49 +00:00
Pierre Joye
07b62da9f4
- #38944 , freshly created archive has no comment or cdir
2006-09-25 09:00:16 +00:00
Antony Dovgal
cd7f3a786d
add test
2006-09-25 08:45:08 +00:00
Dmitry Stogov
fa6c04c746
Removed warning about unreferenced local variable
2006-09-25 08:15:03 +00:00
Pierre Joye
85985ad895
- #38943 , properties in extended class cannot be set
...
- use zend_object_std_init instead of a manual initialisation
2006-09-24 22:27:57 +00:00
Ilia Alshanetsky
e55036a346
Fixed bug #38941 (imap extension does not compile against new version of
...
the imap library).
2006-09-24 18:06:37 +00:00
Rui Hirokawa
b4ca4a0fab
disabled mb_list_*_names() and mb_list_encodings(arg) which are introduced in PHP 5.2.0RC to reconsider/discuss the specification.
2006-09-24 07:10:54 +00:00
Antony Dovgal
bc81c718c8
fix CGI build
2006-09-23 12:27:40 +00:00
Antony Dovgal
39856ab9cb
MFH: fix possible segfault in #38891
2006-09-23 11:58:58 +00:00
Rui Hirokawa
46fda147a5
fixed build problem of some extensions which depend on ext/mbstring.
2006-09-23 10:55:58 +00:00
Ilia Alshanetsky
be18d5f345
Restore support for unquoted -d options
2006-09-22 17:41:09 +00:00
Dmitry Stogov
f7f180f930
Prevent access to dead zval
2006-09-22 13:39:32 +00:00
Ilia Alshanetsky
305423c34c
Fixed test
2006-09-21 23:06:52 +00:00
Seiji Masugata
0d233db56a
Updated bundled oniguruma library (used for multibyte regular expression) to 4.4.4. fixed some Segmentation Fault, and build fails in OSX(Xcode 2.4/gcc 4.0.1 problem). See #38452 .
2006-09-21 16:37:20 +00:00
Rui Hirokawa
10f7a23b6f
fixed compilation problem on Mac OS/X. (bug #38892,38778,38452)
2006-09-20 23:10:37 +00:00
Dmitry Stogov
f5d7dac35d
Added ability to make SOAP call userspace PHP<->XML converters
2006-09-20 13:42:52 +00:00
Dmitry Stogov
811634bd8a
Fixed bug #38579 (include_once() may include the same file twice)
2006-09-20 07:35:59 +00:00
Ilia Alshanetsky
91c1a54d70
make input_get_args() not modify the original values.
2006-09-19 23:57:48 +00:00
Ilia Alshanetsky
af993553fb
array_key_exists() should not work by by-ref
2006-09-19 23:44:30 +00:00
Dmitry Stogov
cd6537ed6d
Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks)
2006-09-19 21:36:54 +00:00
Dmitry Stogov
7d14dad02e
MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests).
2006-09-19 20:33:12 +00:00
Ilia Alshanetsky
2332e4f9fc
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
...
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that generates errors in
PostgreSQL
2006-09-19 15:45:22 +00:00
Hannes Magnusson
db5dc9d5d8
fix test
2006-09-19 12:25:27 +00:00
Stefan Esser
1e8fc23095
Delete empty temporary files if file upload hook forbids the upload
2006-09-19 11:34:19 +00:00
Antony Dovgal
bc60e07d57
argh.. nuke UEXPECTF
2006-09-19 09:40:00 +00:00
Antony Dovgal
e1ff6fe881
support objects in array_walk*()
2006-09-19 09:35:27 +00:00
Antony Dovgal
0fe381cd70
fix tests
2006-09-19 09:07:56 +00:00
Antony Dovgal
dba1f1d42f
MFH: fix #34066 (recursive array_walk causes segfault)
...
add tests
2006-09-19 09:04:16 +00:00
Ilia Alshanetsky
fe6effeeb4
Avoid generating php_errormsg twice in some instances.
2006-09-18 23:08:36 +00:00
Antony Dovgal
3bd1c646b7
add PHP version detection to this branch too, since I'm using this branch to make PECL releases
2006-09-18 21:23:42 +00:00
Hannes Magnusson
de771e8cbd
Add .libs to .cvsignore
2006-09-18 17:22:53 +00:00
Hannes Magnusson
6affa7d3e9
Fix tests
2006-09-18 16:12:13 +00:00
Ilia Alshanetsky
c8a5e8fa7a
Fixed bug #38574 (missing curl constants and improper constant detection).
2006-09-18 16:11:50 +00:00
Dmitry Stogov
8982cc0472
Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry)
2006-09-18 14:23:52 +00:00
Antony Dovgal
1efae6a785
fix test (the error message is different across the systems)
2006-09-18 12:35:49 +00:00
Dmitry Stogov
a16cb0b4d5
Fixed non-specialized executor
2006-09-18 12:03:10 +00:00
Ilia Alshanetsky
5aa6dcc6c8
Fixed memory leak on require() error
2006-09-18 03:29:21 +00:00
Pierre Joye
442112503a
- add test for callback and input_get and input_get_args
...
this test fails now, the callback never worked with input_get or args
fix already done, will be applied with the api shake up.
2006-09-17 18:03:45 +00:00
Nuno Lopes
d43c9c11f4
fix compiler warnings introduced in my previous commit
2006-09-16 19:07:46 +00:00
Ilia Alshanetsky
9f217cd983
One last expand_filepath() check
2006-09-16 19:07:35 +00:00
Ilia Alshanetsky
92c3cfd81f
Additional expand_filepath() checks
2006-09-16 18:30:03 +00:00
Nuno Lopes
557b583434
plug leaks that in the previous patch
2006-09-16 18:18:55 +00:00
Nuno Lopes
c7101ba6d2
add missing checks around expand_filepath()
2006-09-16 18:15:25 +00:00
Ilia Alshanetsky
4c65e0e1cd
Added missing validation checks around expand_filepath()
2006-09-16 18:10:32 +00:00
Nuno Lopes
bfc9cd7174
fix possible crash in posix_access()
2006-09-16 17:41:57 +00:00
Nuno Lopes
868b219a28
use relative paths, so that we dont break the lcov reports
2006-09-16 14:17:36 +00:00
Rob Richards
211690374b
BFN
2006-09-16 13:57:17 +00:00
Rob Richards
1819e947f9
implement workaround for bug #38823 (DOMComment->appendData does nothing)
...
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:54:52 +00:00
Nuno Lopes
e197ecd16e
fix mem leak. hash keys dont need to be strdup'ed
2006-09-16 12:05:13 +00:00
Ilia Alshanetsky
2cc1f53f3b
Added a check for PQftable() function
2006-09-15 19:47:50 +00:00
Nuno Lopes
e299095ca1
fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits
2006-09-15 16:11:39 +00:00
Antony Dovgal
c40975eda5
MFH: missing part of the fix for #38844
2006-09-15 15:42:53 +00:00
Antony Dovgal
fcf4f87919
still output an error, even if there is no curl_easy_strerror()
2006-09-15 15:33:14 +00:00
Nuno Lopes
fe9d3b16c5
mark some huge arrays as read-only
2006-09-15 15:11:54 +00:00
Antony Dovgal
0974e2af60
MFH: fix segfault in curl_multi_info_read()
2006-09-15 15:04:59 +00:00
Nuno Lopes
0094b08c56
remove warning. thanks Tony for noticing
2006-09-15 14:57:52 +00:00
Nuno Lopes
96b9fb0787
remove more old code and macros. also remove the module global 'inst' (not needed anymore)
2006-09-15 14:33:34 +00:00
Antony Dovgal
5111cd3af9
MFH: fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0)
2006-09-15 13:44:50 +00:00
Pierre Joye
a0aabccac6
- MFH: PECL Bug #8700 , zipArchive::getFromIndex() fails
2006-09-15 12:12:25 +00:00
Antony Dovgal
04da058284
MFH: fix leak when call to shutdown function fails
2006-09-15 09:12:17 +00:00
Antony Dovgal
4b257a1c0e
fix leak with php -c /path -h
2006-09-15 08:18:36 +00:00
Antony Dovgal
55d900ef8e
MFH: free node pointer using correct function
...
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:44:20 +00:00
Antony Dovgal
99b133d7a7
MFH: fix double free(), add test
2006-09-15 07:27:22 +00:00
Dmitry Stogov
ed26032176
Fixed memory leak
2006-09-15 07:11:35 +00:00
Ilia Alshanetsky
7bf39e9212
Back to dev
2006-09-14 18:04:40 +00:00
Ilia Alshanetsky
b5446194ec
PHP 5.2.0RC4
2006-09-14 17:49:12 +00:00
Ilia Alshanetsky
6e2add04ea
Make float filter handle things like 02.324 properly
2006-09-14 17:47:00 +00:00
Nuno Lopes
4a162b71a2
add --STDIN-- support
2006-09-14 16:58:52 +00:00
Antony Dovgal
7a5306598a
separate zval only when needed (fixes 035.phpt and doesn't affect SAPI filtering)
2006-09-14 15:30:13 +00:00
Rob Richards
436d75c376
BFN
2006-09-14 13:37:12 +00:00
Rob Richards
6fea033c6e
fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly)
2006-09-14 13:35:02 +00:00
Dmitry Stogov
806bc4e164
Reinamed variables to avoid name conflicts
2006-09-14 10:32:45 +00:00
Dmitry Stogov
2604f21fa6
Removed unused macro USE_ZEND_ALLOC
2006-09-14 09:58:27 +00:00
Dmitry Stogov
3fcfdf573d
Write valid run-time value for Zend Memeory Manager
2006-09-14 08:01:48 +00:00
Dmitry Stogov
27c327b97e
Added is_zend_mm() to allow runtime check for zend memory manager
2006-09-14 08:00:44 +00:00
Stanislav Malyshev
38540337a9
add for VC build
2006-09-13 17:47:20 +00:00
Stanislav Malyshev
dd48748f5a
fix VC build:
...
- update PCRE defines
- create timelib_config.h
- update .def dependencies
2006-09-13 17:33:24 +00:00
Stanislav Malyshev
286a9db9df
fix fcgi build
2006-09-13 17:23:16 +00:00
Ilia Alshanetsky
01ea35a078
Fixed name
2006-09-13 15:54:51 +00:00
Ilia Alshanetsky
54032dee04
Fixed test for systems without INFILE/OUTFILE support
2006-09-13 15:52:57 +00:00
Antony Dovgal
0680cc4360
fix tests on MacOS
2006-09-13 13:59:16 +00:00
Dmitry Stogov
3b2fa0ce82
Fix memory leaks
2006-09-13 13:25:50 +00:00
Dmitry Stogov
da09526eac
Fix for bug #38757 (MultiPart Form Uploads fail with FastCGI)
2006-09-13 13:03:01 +00:00
Antony Dovgal
e5ab519397
MFH
2006-09-13 10:44:11 +00:00
Antony Dovgal
6e0915b631
new tests
2006-09-12 20:32:39 +00:00
Antony Dovgal
d1202b7986
declare oci_lob_seek()
2006-09-12 20:27:28 +00:00
Antony Dovgal
03c7bbd33b
MFH: improve spelling ( fixes #38780 )
2006-09-12 17:26:34 +00:00
Derick Rethans
ebbfc21a15
- Make passing filter flags as LONG work again.
...
- Make super globals filtering work again (as quick workaround).
#- Will merge to head later... need to get things sorted out first.
2006-09-12 16:10:33 +00:00
Ilia Alshanetsky
f0fd70fadb
Fixed bug #37779 (empty include_path leads to search for files inside /).
2006-09-12 15:47:25 +00:00
Pierre Joye
bb2d53e768
- PECL Bug #8676 , addFile was not updated and still used VCWD_REALPATH,
...
it now uses expand_filepath
2006-09-12 12:02:49 +00:00
Antony Dovgal
7800711d34
MFH: fix leak when binding a variable to the same placeholder several times
2006-09-12 11:42:44 +00:00
Dmitry Stogov
7e17f8591a
Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts)
2006-09-12 11:01:16 +00:00
Antony Dovgal
1a6cd5162e
remove a leftover
2006-09-12 10:54:01 +00:00
Antony Dovgal
7b588b5bcd
fix test
2006-09-12 10:42:32 +00:00
Ilia Alshanetsky
bb9a9f2b98
Typo fix from Steph
...
Added note about CLI and INI search path
2006-09-11 23:11:18 +00:00
Johannes Schlüter
6415ef51e9
- MFH: Print the type of the original value
2006-09-11 21:21:43 +00:00
Ilia Alshanetsky
4bb51d165a
BFN
2006-09-11 19:57:45 +00:00
Sara Golemon
93c8a45083
MFH: Bug #38687 - sockaddr local storage insufficient for all sock families
2006-09-11 19:18:07 +00:00
Johannes Schlüter
6a1b4c99c7
- MFH: Fix #37923 (Display constant value in reflection::export)
2006-09-11 17:08:42 +00:00
Ilia Alshanetsky
f4a75d91d2
Fixed bug #38096 (large timeout values ignored on 32bit machines in
...
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:52:21 +00:00
Antony Dovgal
f3ae2fea43
BFN
2006-09-11 14:30:17 +00:00
Antony Dovgal
d6ee9d4810
MFH: fix #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper)
2006-09-11 14:30:08 +00:00
Antony Dovgal
0a1f5d12a1
fix tests
2006-09-11 14:17:51 +00:00
Antony Dovgal
5a9f40a46a
add tests
2006-09-11 14:13:25 +00:00
Ilia Alshanetsky
65c046b200
Upgrading updates from Steph
2006-09-11 14:10:18 +00:00
Antony Dovgal
6d040bf67a
fix test
2006-09-11 08:08:20 +00:00
Dmitry Stogov
567a4785b3
Don't try to do safe connection close in case of FastCGI protocol error
2006-09-11 07:22:40 +00:00
Ilia Alshanetsky
f739a43906
Fixed a typo
2006-09-11 01:36:20 +00:00
Hannes Magnusson
7e3c017e5a
dissallowing->disallowing
2006-09-10 22:59:28 +00:00
Antony Dovgal
334c36ac7c
new tests
2006-09-10 22:11:29 +00:00
Antony Dovgal
4dd2a598f3
add new test
2006-09-10 19:42:12 +00:00
Hannes Magnusson
0ce31d14f5
MFH: proots
2006-09-10 17:01:51 +00:00
Hannes Magnusson
b6a5941b97
MFH: date_timezone_set() needs both arguments
...
MFH: throw exception in DateTimeZone::__construct() when no arguments are passed
2006-09-10 16:34:08 +00:00
Hannes Magnusson
73161f33d4
Add *.lo into .cvsignore
2006-09-10 14:03:00 +00:00
Hannes Magnusson
bc8377a81c
Make ReflectionFunctionAbstract abstract
...
- Move ReflectionFunctionAbstract::__construct to ReflectionFunction
- Move ReflectionFunctionAbstract::__toString to ReflectionFuncion
- Delcare ReflectionFunctionAbstract::__toString abstract
- fix couple of typos
2006-09-10 13:25:47 +00:00
Antony Dovgal
9fa594c2dd
fix coverity issue #197
...
"I can't think of a reason to pass a NULL buf" (c) Wez
2006-09-10 13:01:37 +00:00
Nuno Lopes
618e62325e
fix lcov processing with gcc 4.1 (some .h files were not copied)
2006-09-10 12:37:44 +00:00
Antony Dovgal
299af46146
more improvements
2006-09-10 11:44:51 +00:00
Antony Dovgal
42d4e3533e
MFH: improve the script
2006-09-10 11:26:53 +00:00
Rasmus Lerdorf
935b0c88e9
Minor tweak to the file upload hooks. The MULTIPART_EVENT_FORMDATA event
...
was only triggering when an input filter was applied. This simple change
makes the event also trigger when no filter is applied. The newlength
pointer is set to NULL to let a downstream module differentiate between
the two cases.
2006-09-09 22:06:27 +00:00
Hannes Magnusson
0222d506c2
- Remove register_globals from the "different" section
...
- Add allow_url_include = Off
- compatability -> compatibility and other typos
2006-09-09 21:56:58 +00:00
Hannes Magnusson
7c5119c5a9
Add E_RECOVERABLE
2006-09-09 21:43:11 +00:00
Hannes Magnusson
413de3f4a5
Removed duplicated entry
2006-09-09 21:14:05 +00:00
Hannes Magnusson
ef4ff6fe9e
CURL->cURL
2006-09-09 20:04:50 +00:00
Rasmus Lerdorf
3879a66876
Fix tense
2006-09-09 17:03:48 +00:00
Rasmus Lerdorf
6dbe4adbc6
One more typo
2006-09-09 17:02:56 +00:00
Rasmus Lerdorf
194230c3a6
Cleanup
2006-09-09 16:54:01 +00:00
Derick Rethans
6c18da0d2a
- Update news.
2006-09-09 12:29:08 +00:00
Derick Rethans
0c8042dc49
- MFH: The .c file is generated... so updating the .re file and cleaning up WS.
2006-09-09 12:26:33 +00:00
Antony Dovgal
d577b8058c
MFH: fix #38759 (PDO sqlite2 empty query causes segfault)
2006-09-09 10:59:05 +00:00
Antony Dovgal
51fbffba2f
MFh: fix #38721 (date_parse() invalid read)
2006-09-08 20:22:47 +00:00
Antony Dovgal
5c6f438319
implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
...
patch by marci at balabit dot hu
2006-09-08 20:10:47 +00:00
Hannes Magnusson
267b0e9b03
Bump libxslt version to 1.1.0 (closes bug#35589)
2006-09-08 16:41:01 +00:00
Nuno Lopes
b860e9a3c2
add the script to run diagnostic tests on zend_parse_parameters*() usage, per Andrei's request
2006-09-08 16:35:17 +00:00
Dmitry Stogov
b0c4150967
Prevent opening of empty filename ""
2006-09-08 05:52:00 +00:00
Marcus Boerger
7e563e9215
- Fix tiny mistake
2006-09-07 21:17:13 +00:00
Michael Wallner
01ee23d980
- MFH: fix warnings
2006-09-07 14:24:42 +00:00
Ilia Alshanetsky
7f2cf9b373
Fixed memory leaks in openssl test #004
2006-09-07 14:11:06 +00:00
Antony Dovgal
88b59df262
add new tests
2006-09-07 11:48:30 +00:00
Rob Richards
36505f802c
MFH: fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27)
2006-09-07 11:25:14 +00:00
Rob Richards
f11c99638e
MFH: update def file (2.6.26)
2006-09-06 23:49:00 +00:00
Edin Kadribasic
cb5ad145ab
Fixed bug #38190 (threading issues on windows 2003)
2006-09-06 21:44:45 +00:00
Pierre Joye
3f0f73beba
- bump version, 5.2.0 will have zip-2.0.0-stable
2006-09-06 17:38:36 +00:00
Ilia Alshanetsky
8e86a189ec
Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:25:57 +00:00
Pierre Joye
e85a378770
- wrong cast, strlen is int
2006-09-06 17:24:41 +00:00
Nuno Lopes
c55eda9f3b
fix memleak of pcre study data
2006-09-06 16:30:59 +00:00
Nuno Lopes
b772a83282
fix one more parameter (int*->int)
2006-09-06 15:31:48 +00:00
Nuno Lopes
eee95ef3f0
MFH zend_parse_parameters() fixes
2006-09-06 15:19:41 +00:00
Pierre Joye
ad58ad265b
- MFH: zip_open takes only one parameter (Thx Nuno L.)
2006-09-06 13:03:55 +00:00
Antony Dovgal
37635d93e6
fix leak in pg_copy_to() when invalid resource was passed
2006-09-06 12:40:56 +00:00
Antony Dovgal
7d7f84562c
do not search for empty strings with strpos() and strrpos()
2006-09-06 12:07:32 +00:00
Nuno Lopes
47713b1eb7
more int->zend_bool conversions
2006-09-06 11:54:29 +00:00
Antony Dovgal
b9351ab4b1
fix leaks & uninitialized vars
...
add test
2006-09-06 11:34:43 +00:00
Dmitry Stogov
76d748f372
Fixed support for endpoint's URL without <path> part (Rob)
2006-09-06 11:03:45 +00:00
Dmitry Stogov
0c3c55edac
Fixed php_admin* bypass by ini_restore()
2006-09-06 08:54:44 +00:00
Derick Rethans
5d6f6783ae
- MFH: Added support for the full ISO week number format. (2006-W52-7)
2006-09-06 07:34:51 +00:00
Dmitry Stogov
afb8af1f5f
Reverted last Ilia's patch (for bug #38579 ).
...
The patch didn't fix the bug and made new one.
2006-09-06 06:37:42 +00:00
Ilia Alshanetsky
bd5e8f77bd
BFN
2006-09-05 15:50:37 +00:00
Ilia Alshanetsky
229137cad4
Fixed bug #38579 require_once/include_once optimization causes files to be
...
loaded multiple times.
2006-09-05 15:50:07 +00:00
Nuno Lopes
aa6593f984
sync code and tests between HEAD and PHP_5_2 branches. what a confusion...
2006-09-05 15:23:26 +00:00
Nuno Lopes
dc8895ed82
finish the cleaning. also add a new test
2006-09-05 14:55:56 +00:00
Antony Dovgal
c57bfd9a66
add test
2006-09-05 14:04:41 +00:00
Antony Dovgal
52d0f82dc3
MFH: init variables
2006-09-05 13:59:26 +00:00
Nuno Lopes
dadc6b8a3b
remove some leftover code from the time tidy would throw exceptions
2006-09-05 13:50:22 +00:00
Nuno Lopes
4cff5db8f4
int->zend_bool where possible
2006-09-05 12:39:20 +00:00
Nuno Lopes
3ec9141f91
first fix from my new zend_parse_parameters_* checker
2006-09-05 12:30:35 +00:00
Edin Kadribasic
aebc2fff07
CWD php.ini search news
2006-09-05 11:58:05 +00:00
Edin Kadribasic
ef058cdd9a
Search for php.ini in CWD in all sapi's *but* CLI.
...
This patch reverses wrong behavaiour introduced before the
release of 5.1.0.
# We should probably consider killing adding CWD php.ini lookup
# altogether.
2006-09-05 11:54:15 +00:00
Antony Dovgal
8c53ff1e80
fix leak in imap_utf8(), avoid extra strlen() call
...
add test
2006-09-05 11:24:49 +00:00
Antony Dovgal
c622ded866
fix typo, add test
2006-09-05 10:36:24 +00:00
Nuno Lopes
731b68fbc5
fix gcc warning
2006-09-04 19:14:59 +00:00
Nuno Lopes
ae77214f7f
fix gcc warning
2006-09-04 18:59:01 +00:00
Ilia Alshanetsky
fc60217820
Fixed bug #38693 (curl_multi_add_handle() set curl handle to null).
2006-09-04 16:31:27 +00:00
Dmitry Stogov
87eaaf494b
Removed unreachable handlers
2006-09-04 13:58:54 +00:00
Dmitry Stogov
8166284cfd
Fixed bug #38700 (SoapClient::__getTypes never returns)
2006-09-04 10:52:34 +00:00
Dmitry Stogov
75876d57be
Fixed VIRTUAL_DIR inconsistency
2006-09-04 08:18:15 +00:00
Dmitry Stogov
a5107c1803
Fixed "signed/unsigned mismatch" warning.
2006-09-04 07:26:48 +00:00
Ilia Alshanetsky
4427552b60
Fixed bug #38661 (mixed-case URL breaks url-wrappers).
2006-09-03 16:32:27 +00:00
Pierre Joye
73c5259362
- new openssl constants entry
2006-09-03 15:49:49 +00:00
Pierre Joye
532f577fe9
- add OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER constants
...
- skip tests if openssl version < 0.9.7j (known to work)
2006-09-03 15:31:01 +00:00
Nuno Lopes
2203492799
little typo (bug #38531 )
2006-09-03 11:39:45 +00:00
Johannes Schlüter
688efae2d0
- Remove version number here as already done in HEAD
2006-09-03 11:27:50 +00:00
Michael Wallner
eca5331a81
- attempt to fix #38696
2006-09-03 09:09:56 +00:00
Johannes Schlüter
eb958c080e
- MFH: Add HAVE_REFLECTION define for win32 (by Steph)
2006-09-02 19:13:23 +00:00
Hannes Magnusson
948d84fd67
fix test
2006-09-02 15:42:00 +00:00
Nuno Lopes
5737b1e925
and add a test
2006-09-01 23:31:52 +00:00
Nuno Lopes
0f6f089698
omg. take #2 to fix the bug. sorry..
2006-09-01 23:25:29 +00:00
Nuno Lopes
c8b2f761f6
fix possible crash
2006-09-01 23:13:20 +00:00
Edin Kadribasic
8251f8b8d0
MFH: Obsolete, prepaing for new installer script
2006-09-01 20:25:32 +00:00
Nuno Lopes
dc2bb45440
currently it's RC4-dev
2006-09-01 13:55:22 +00:00
Ilia Alshanetsky
73eba86360
Back to dev
2006-09-01 01:29:05 +00:00
Ilia Alshanetsky
98d26b6b18
5.2.0RC3
2006-09-01 01:06:14 +00:00
Pierre Joye
d63e411e9a
- MFH
2006-08-31 22:52:54 +00:00
Pierre Joye
23919d9115
- MFH
2006-08-31 22:34:32 +00:00
Antony Dovgal
78c0279bb6
add test
2006-08-31 22:19:35 +00:00
Pierre Joye
2259578afa
- MFH: test for mulitple filter calls
2006-08-31 22:17:44 +00:00
Antony Dovgal
5d81cd24c9
MFH
2006-08-31 22:12:10 +00:00
Pierre Joye
5c7e3ba791
- skip these tests for RC3
...
- CGI does not read commandline options when it sees REQUES_METHOD
- errors are shown two times now, to be checked post RC3
2006-08-31 20:17:03 +00:00
Pierre Joye
72820abd7b
- MFH: pecl bug #8316 ,
...
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:29:29 +00:00
Antony Dovgal
75b8cd741b
last portion of z/Z fixes
2006-08-31 16:15:24 +00:00
Pierre Joye
50e9994b2c
- clean the auto trim (behaves like php_trim now)
...
- simplifies bool
- fix octal parsing
- boost int/hex/octal validate_int
2006-08-31 15:50:56 +00:00
Antony Dovgal
5bc435c4e8
fix typo in errmsg
2006-08-31 15:42:18 +00:00
Antony Dovgal
94b3210c38
ext/filter z/Z fixes
2006-08-31 15:17:23 +00:00
Antony Dovgal
c2a38c607b
more z/Z fixes
2006-08-31 14:41:24 +00:00
Antony Dovgal
0c482b5c64
more z/Z fixes
2006-08-31 14:21:21 +00:00
Antony Dovgal
de23f39d18
MFH: z/Z problem fixes
2006-08-31 13:58:31 +00:00
Antony Dovgal
821674720a
fix test
2006-08-31 13:50:11 +00:00
Antony Dovgal
fb21b5d059
MFH: fix problem with mixed arguments accepted as zval* causing leaks/segfaults when converting to other types
2006-08-31 13:48:17 +00:00
Dmitry Stogov
f9d9c4a6aa
FastCGI environment variables must not be overriden by system environment variables
2006-08-31 13:11:58 +00:00
Dmitry Stogov
54123daa8d
Show name of storage layer in case of initialization fault.
2006-08-31 11:53:57 +00:00
Antony Dovgal
c4e9ee2586
minor changes in iconv_substr() to avoid zval converting
2006-08-31 11:17:47 +00:00
Antony Dovgal
f74fbc1a06
fix warnings about nonextistent functions
2006-08-31 11:10:23 +00:00
Antony Dovgal
de3d3ced29
no such function
2006-08-30 22:53:51 +00:00
Antony Dovgal
434d5e9be4
MFH: fix leak, add test
2006-08-30 22:34:48 +00:00
Antony Dovgal
235e3939d5
s/pinter/pointer/
2006-08-30 22:29:24 +00:00
Antony Dovgal
1dd6ee3f6d
fix segfault/leak, add test
2006-08-30 21:51:08 +00:00
Antony Dovgal
1f138e7e01
MFH: fix segfault in openssl_seal(), add test
2006-08-30 20:50:04 +00:00
Ilia Alshanetsky
26db0920d3
pcre news
2006-08-30 20:08:05 +00:00
Ilia Alshanetsky
45debc52ef
Upgrade PCRE lib to 6.7
2006-08-30 20:00:23 +00:00
Ilia Alshanetsky
307b3bcbb4
Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
...
is used and ssl certificate is not verifiable).
2006-08-30 17:49:10 +00:00
Antony Dovgal
f231b76ba6
fix leak, add test
2006-08-30 16:46:59 +00:00
Antony Dovgal
644a796525
MFH: fix leak in iptcembed()
2006-08-30 16:30:14 +00:00
Antony Dovgal
b6ced95187
change ini handlers to produce E_ERROR if they are called during startup
2006-08-30 16:24:40 +00:00
Antony Dovgal
a8a3701ba6
fix leak
2006-08-30 16:12:43 +00:00
Antony Dovgal
f8fd45a735
MFH: change E_ERROR to E_WARNING when invalid argument has been passed
...
make sure ini_set() doesn't reset PS(mod) and PS(serializer) to invalid values
2006-08-30 15:43:10 +00:00
Antony Dovgal
86bf55a3d8
MFH: fix #38653 (memory leak in ReflectionClass::getConstant())
2006-08-30 10:42:49 +00:00
Hannes Magnusson
d6ec9d21ec
fix test
2006-08-30 09:44:53 +00:00
Derick Rethans
8388180466
- Upgrade timezone db to 2006k.
2006-08-29 20:20:05 +00:00
Ilia Alshanetsky
1b9e18d471
Corrected problems introduced by previous commit.
...
# Issue found by Stefan
2006-08-29 19:50:04 +00:00
Ilia Alshanetsky
5ea3080546
Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle).
2006-08-29 17:10:40 +00:00
Ilia Alshanetsky
7c618c40bc
Finalize implode() patch
2006-08-29 14:32:16 +00:00
Antony Dovgal
ffc3d4a076
fix win32 build
...
EG(precision) can be changed in runtime, even in php_implode() (hint: __toString()), so please think twice before optimizing
2006-08-29 12:20:18 +00:00
Rob Richards
664a7c75d4
BFN
2006-08-28 23:38:49 +00:00
Rob Richards
c6b9662372
fix #38474 (getAttribute select attribute by order, even when prefixed)
...
add test
2006-08-28 23:36:23 +00:00
Ilia Alshanetsky
914d362176
Adjust code to avoid TSRMLS_FETCH
2006-08-28 23:33:37 +00:00
Antony Dovgal
7384c12b11
MFH: make sure ext/standard is down before ext/session ( fixes #38534 )
2006-08-28 19:57:57 +00:00
Antony Dovgal
ecfa880820
MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534 )
2006-08-28 18:58:47 +00:00
Antony Dovgal
613237188a
typofix
2006-08-28 17:18:03 +00:00
Antony Dovgal
4e971e8874
MFH: fix #38199 (fclose() unable to close STDOUT and STDERR)
2006-08-28 17:15:03 +00:00
Antony Dovgal
191d68618a
delete commented part, as it was done in HEAD
2006-08-28 10:59:18 +00:00
Antony Dovgal
f7ba7232d8
MFH: fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method)
2006-08-28 10:27:58 +00:00
Antony Dovgal
615f2d7295
fix ZTS build
2006-08-28 09:56:28 +00:00
Hannes Magnusson
2d3056e94f
MFH:
...
- Fixed bug #33895 (missing math constants).
- Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 19:14:43 +00:00
Ilia Alshanetsky
78d7b0bf0e
Optimize the operation of implode() on non-string parameters
2006-08-27 19:06:09 +00:00
Hannes Magnusson
a180abdbfd
fix tests on freebsd
2006-08-27 15:06:53 +00:00
Pierre Joye
46ce362ff3
- don't rely/use VCWD_REALPATH, use expand_filepath instead
...
NB: that'd to be true for all this VCWD mess
2006-08-26 12:23:43 +00:00
Seiji Masugata
100742f7a2
added configure option --disable-mbregex-backtrack.
2006-08-25 16:26:50 +00:00
Pierre Joye
8e54de1d77
- bundled matches pecl 1.7.1
2006-08-25 16:03:00 +00:00
Edin Kadribasic
21ac19eb94
Fixed #37602 by olek at neurosoft dot pl
2006-08-25 12:01:57 +00:00
Seiji Masugata
99211d0444
Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1.
2006-08-24 17:20:58 +00:00
Seiji Masugata
74685a184f
Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1.
2006-08-24 17:11:29 +00:00
Seiji Masugata
3ea2152839
Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1.
2006-08-24 17:03:47 +00:00
Seiji Masugata
560208b1c6
added returned value in mb_get_info( ).
2006-08-24 16:52:36 +00:00
Pierre Joye
5c8533aa76
- solve the relative path issues in TS environment
2006-08-24 16:37:14 +00:00
Antony Dovgal
a5bb290f28
it's not a PEAR only issue
2006-08-24 16:00:43 +00:00
Antony Dovgal
d8870f562f
sys/msg.h does not exist on MacOS X
2006-08-24 13:18:24 +00:00
Antony Dovgal
d221f46ab6
update version in phpinfo()
2006-08-24 13:03:04 +00:00
Antony Dovgal
f6bbb02da6
bump version number
2006-08-24 12:46:54 +00:00
Antony Dovgal
567cf55085
compat fixes
2006-08-24 12:05:19 +00:00
Antony Dovgal
f1b1c65413
release 1.2.2 from 5_2 branch, as HEAD doesn't have safe_mode anymore
2006-08-24 11:59:15 +00:00
Antony Dovgal
fd9c8d85a6
the error message is different on different OSes and zlib versions
2006-08-24 11:30:35 +00:00
Antony Dovgal
806d9fe71b
tm_yday may be 0
2006-08-24 11:27:20 +00:00
Antony Dovgal
0584dc011c
MFH: fix segfault in strptime() on 64bit Linuxes, caused by the missing declaration
2006-08-24 11:06:02 +00:00
Dmitry Stogov
c42b3bf689
Fixed bug #38315 (Constructing in the destructor causes weird behaviour)
2006-08-24 09:42:35 +00:00
Dmitry Stogov
92f1b46fbb
Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method).
2006-08-24 06:18:30 +00:00
Andrei Zmievski
fdd1370d99
Namespace more PCRE functions.
2006-08-23 20:39:11 +00:00
Pierre Joye
75e9e12093
- MFH: add support for entities in hexadecimal format, like © can
...
be passed as © or © (sync with gd)
2006-08-23 20:22:31 +00:00
Antony Dovgal
b7f2d8f17e
MFH: fix possible crash in free_statement()
2006-08-23 19:15:57 +00:00
Dmitry Stogov
27d3021704
Fixed bug #38265 (heap corruption)
2006-08-23 13:00:48 +00:00
Pierre Joye
aecbddef42
- MFH: please don't use base64 to test image files, it does not work
...
fix tests on 64bit platfrom
2006-08-23 12:00:54 +00:00
Antony Dovgal
6a70b05660
MFH: build ext/spl and ext/reflection as static ( fixes #38556 )
2006-08-23 09:47:21 +00:00
Hannes Magnusson
de3393e63f
Fix arginfo for SplObjectStorage
2006-08-23 09:32:24 +00:00
Antony Dovgal
41bd5790cf
MFH: make run-tests to work with directories containing spaces (bug #38558 )
...
Patch by danielc at analysisandsolutions dot com
2006-08-23 07:02:59 +00:00
Antony Dovgal
a3b62c8eed
add test for real
2006-08-22 20:10:50 +00:00
Antony Dovgal
d5c9b41db1
fix implode() function (see http://news.php.net/php.qa/26876 )
...
add test
2006-08-22 19:55:56 +00:00
Ilia Alshanetsky
d4ff427c55
Fixed bug #38511 , #38473 , #38263 (Fixed session extension request shutdown
...
order to ensure it is shutdown before the extensions it may depend on).
2006-08-22 16:47:23 +00:00
Antony Dovgal
05a1ac2a35
MFH: fix separate TSRM build
2006-08-22 13:01:44 +00:00
Dmitry Stogov
f7e99a2162
Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too low).
2006-08-22 12:04:53 +00:00
Antony Dovgal
08a9ab02ba
minor improvements
2006-08-22 11:09:12 +00:00
Dmitry Stogov
7dfbf5b2e4
Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32)
2006-08-22 06:15:26 +00:00
Dmitry Stogov
4180155a47
Fixed "win32" storage manager
2006-08-22 05:54:15 +00:00
Dmitry Stogov
3fd1e9c3db
Fix "make test" on win32
2006-08-22 05:00:51 +00:00
Antony Dovgal
36dffb8e3b
typo
2006-08-21 17:12:02 +00:00
Ilia Alshanetsky
8d770ee2ef
Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
...
inside a failed query executed via query() method).
2006-08-21 16:53:50 +00:00
Antony Dovgal
70e59e2999
MFH: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out)
2006-08-21 16:41:13 +00:00
Ilia Alshanetsky
672da2daeb
MFH: sa_len compile fix for IRIX
...
# Patch by Sascha
2006-08-20 18:24:11 +00:00
Ilia Alshanetsky
2a41a50216
Fixed bug #38524 (strptime() does not initialize the internal date storage
...
structure).
2006-08-20 18:20:07 +00:00
Ilia Alshanetsky
8405e1741f
Use proper write callback
2006-08-19 16:20:08 +00:00
Antony Dovgal
efbb2a4838
fix #38486 (openssl extension does not build correctly)
2006-08-18 13:02:38 +00:00
Antony Dovgal
a33913d960
MFH: add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
...
(feature request #38496 )
2006-08-18 12:50:57 +00:00
Antony Dovgal
92963d12a6
fix #38485 (bz2 extension does not compile with GCC 4.1)
2006-08-17 20:46:51 +00:00
Antony Dovgal
1f3b6ebc89
initialize static buffer with 0's
2006-08-17 14:32:35 +00:00
Ilia Alshanetsky
d7209229a3
Back to dev
2006-08-17 14:04:09 +00:00