Commit Graph

18303 Commits

Author SHA1 Message Date
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
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
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
Pierre Joye
d05ef39c74 - MFH #39366, imagerotate does not use alpha with angles>45 2006-11-04 03:15:31 +00:00
Pierre Joye
541f9940ac - #39273, imagecopyresized and alpha channel 2006-11-04 02:21:06 +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
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
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
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
683f81f195 MFH: Fixed a possible crash when callback function returns a non-modified
value
2006-11-03 13:53:24 +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
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
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
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
Antony Dovgal
0cf7b1012f add new test by Pierre 2006-10-19 12:07:07 +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
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
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
Antony Dovgal
d087c87ffe MFH: use connection charset when reading LOB data 2006-10-12 10:04:12 +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
adf31588d2 MFH(r-1.96) Bugfix#38649 Optional param not initialized 2006-10-11 23:22:45 +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
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
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
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
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
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
b1d8f7e09d Expose session storage module locater and serialization function via PHPAPI 2006-10-06 21:11:36 +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
Antony Dovgal
24195cf941 re-add the test 2006-10-06 14:50:46 +00:00
Edin Kadribasic
480e788d95 Fix for #38985 (Wez) 2006-10-06 12:23:30 +00:00