Commit Graph

5371 Commits

Author SHA1 Message Date
Ilia Alshanetsky
a78d9e4ca0 MFB: Fixed bug #41655 (open_basedir bypass via glob()) 2007-06-12 12:57:43 +00:00
Raghubansh Kumar
f31ae00184 New tests for file handling system functions 2007-06-11 16:40:27 +00:00
foobar
53b43a63cd - Added php_ini_loaded_file() function which returns the path to the actual
php.ini in use.
# there was only a function to return the _additional_ files in use..
2007-06-09 11:42:55 +00:00
Antony Dovgal
f1f0deae4c php_localtime_r() checks 2007-06-07 09:07:12 +00:00
Antony Dovgal
976a22df16 php_gmtime_r() fixes 2007-06-07 08:58:38 +00:00
Ilia Alshanetsky
60a7d31254 MFB: Added missing format validator to unpack() function 2007-06-06 22:04:47 +00:00
Antony Dovgal
6a67784d22 improve the check 2007-06-06 21:55:18 +00:00
Stanislav Malyshev
b7cf37c3e1 MF5: Fix chunk_split fix - avoid using floats
MF5: Fix money_format - don't give strfmon more arguments then supplied
MF5: Fix str[c]spn integer overflow
2007-06-06 20:06:43 +00:00
Stanislav Malyshev
f011c37849 fix test format 2007-06-06 17:47:15 +00:00
Stanislav Malyshev
56773a566a add some edge cases 2007-06-06 17:14:59 +00:00
Stanislav Malyshev
32d94ed6cd add moneyformat test 2007-06-06 17:13:18 +00:00
Zoe Slattery
a6ac3f8c20 New tests for file handling 2007-06-06 12:50:06 +00:00
Zoe Slattery
4f38742d2f fixed file permission for new empty file 2007-06-06 12:48:13 +00:00
Nuno Lopes
e7155d9ce5 fix gcov build.. 2007-06-06 12:29:06 +00:00
Ilia Alshanetsky
886cb0c783 MFB: Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags). 2007-06-06 00:01:13 +00:00
Antony Dovgal
43a99cebe2 fix folding 2007-06-05 13:37:05 +00:00
Antony Dovgal
6eb6de0fcf fix folding 2007-06-05 12:17:15 +00:00
Zoe Slattery
ce111057a4 Fixing incorrect comment in test cases fileinode_variation and filetype_variation 2007-06-05 11:32:45 +00:00
Zoe Slattery
484e14354e new test cases for general functions 2007-06-05 09:21:54 +00:00
Zoe Slattery
bdc7acb0d4 New test cases for file system functions 2007-06-05 09:20:17 +00:00
Zoe Slattery
c7590816d5 Updated test output in line with changes to file.inc 2007-06-05 07:57:48 +00:00
Zoe Slattery
bcb5c46495 Added fill_buffer() and fixed file_fill() to write binary data only 2007-06-05 07:54:58 +00:00
Antony Dovgal
b90fc7e0e4 clean up temp file 2007-06-04 17:18:28 +00:00
Zoe Slattery
3ee8de4afb missing ?> in skipif section 2007-06-04 17:00:44 +00:00
Brian Shire
5361f1838b MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix) 2007-06-04 01:23:22 +00:00
Ilia Alshanetsky
9cfd000ba3 MFB: Corrected fix for CVE-2007-2872 2007-06-03 18:53:51 +00:00
Brian Shire
35a6ab5a2c Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.) 2007-06-03 09:11:52 +00:00
Antony Dovgal
cd7750e4ba fix #41518 (file_exists() warns of open_basedir restriction on non-existent file) 2007-06-01 13:33:48 +00:00
Antony Dovgal
06e3561985 fix folding 2007-05-31 21:36:56 +00:00
Antony Dovgal
f90bb0e967 check length only when it's specified
add the same check to fgetss()
2007-05-30 09:16:29 +00:00
Ilia Alshanetsky
8cd0541be1 MFB: Fixed an interger overflow inside chunk_split(), identified by
Gerhard Wagner
2007-05-30 00:38:00 +00:00
Antony Dovgal
79dc35b71c more typofixes 2007-05-29 21:24:45 +00:00
Ilia Alshanetsky
e844eaedbb MFB 2007-05-29 21:06:04 +00:00
Antony Dovgal
7b5215d83a fix #41516 (fgets() returns a line of text when length parameter is <= 0) 2007-05-29 20:48:38 +00:00
Antony Dovgal
859b4e8d2f fix typo & build 2007-05-29 20:31:22 +00:00
Ilia Alshanetsky
16c9af1c7d MFB 2007-05-29 20:11:23 +00:00
Antony Dovgal
fb2ebbf23e fix tests, add 64bit versions 2007-05-29 12:42:19 +00:00
Antony Dovgal
28747bebc9 fix tests 2007-05-29 12:26:59 +00:00
Antony Dovgal
deba560f57 fix test 2007-05-29 12:17:37 +00:00
Antony Dovgal
857834365b fix tests in unicode mode 2007-05-29 12:10:20 +00:00
Antony Dovgal
f243356f5e fix tests 2007-05-29 10:25:21 +00:00
Antony Dovgal
572d70706c fix typo 2007-05-29 08:01:23 +00:00
Ilia Alshanetsky
373ae24839 MFB 2007-05-28 23:52:13 +00:00
Ilia Alshanetsky
de573ba7ff MFB 2007-05-28 23:14:57 +00:00
Ilia Alshanetsky
66526cee92 MFB 2007-05-28 23:00:25 +00:00
Hannes Magnusson
63052d2a85 Remove weird useless entries 2007-05-28 12:18:26 +00:00
Zoe Slattery
863ee40af2 New tests for file/general_functions/strings 2007-05-25 13:50:06 +00:00
foobar
3bec20159c MFB 2007-05-24 21:43:56 +00:00
Rasmus Lerdorf
8b1466fdbe MFB 5_2 2007-05-24 21:31:35 +00:00
Rasmus Lerdorf
5f5563da38 MFB 5_2 2007-05-24 20:56:20 +00:00
Antony Dovgal
6af0020d9c fix test 2007-05-22 16:57:18 +00:00
Antony Dovgal
60afeec652 fix tests 2007-05-22 16:56:47 +00:00
Raghubansh Kumar
b609c75148 New version of gettype_settype_basic.phpt, gettype_settype_variation3.phpt, gettype_settype_variation7.phpt, gettype_settype_error.phpt, gettype_settype_variation4.phpt, gettype_settype_variation8.phpt, gettype_settype_variation1.phpt, gettype_settype_variation5.phpt, gettype_settype_variation2.phpt, gettype_settype_variation6.phpt 2007-05-22 16:06:44 +00:00
Raghubansh Kumar
6d36305465 New version of basename_basic.phpt basename_error.phpt basename_variation.phpt 2007-05-22 16:03:57 +00:00
Hannes Magnusson
d4324a5e4b Philip, the new phpdoc editor \o/ 2007-05-22 15:46:27 +00:00
Antony Dovgal
f996452e8b improve variable name checks
add more tests
2007-05-22 14:32:40 +00:00
Antony Dovgal
5b56ff03b4 fix leak and check for < 0 only of the 5th arg was passed 2007-05-18 20:34:07 +00:00
Antony Dovgal
451d4858b3 fix #41432 (extract() does not accept empty prefix) 2007-05-18 14:11:12 +00:00
Rasmus Lerdorf
5e84cb97a0 MFB syscall optimizations
# boredom on the plane to China...
2007-05-18 12:15:01 +00:00
Antony Dovgal
eb2240d494 fix #41430 (Fatal error with negative values of maxlen parameter of file_get_contents()) 2007-05-18 12:05:55 +00:00
Antony Dovgal
9c99b709a7 zend_make_printable_zval -> zend_make_string_zval 2007-05-17 17:29:09 +00:00
Zoe Slattery
36de378220 Updated range() test 2007-05-16 21:10:57 +00:00
Antony Dovgal
326ee7c499 fix test 2007-05-15 14:25:50 +00:00
Scott MacVicar
ecab534aa8 MFB: Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). 2007-05-14 14:38:29 +00:00
Antony Dovgal
5955f884b9 fix tests, add UEXPECTF 2007-05-14 13:05:29 +00:00
Raghubansh Kumar
1e657336cf New version of debug_zval_dump_b.phpt, debug_zval_dump_v.phpt, is_float.phpt, is_numeric.phpt, is_string.phpt, var_dump.phpt, debug_zval_dump_e.phpt, is_array.phpt, is_int.phpt, is_object.phpt, print_r.phpt,
debug_zval_dump_o.phpt, is_bool.phpt, is_null.phpt, is_scalar.phpt, strval.phpt
2007-05-12 12:18:13 +00:00
Raghubansh Kumar
8be498b45e New version of addcslashes.phpt, implode1.phpt, strpos.phpt, str_replace.phpt, substr_count.phpt, trim1.phpt, chr_ord.phpt, md5_file.phpt, str_repeat.phpt, strstr.phpt, substr.phpt 2007-05-12 12:12:26 +00:00
Raghubansh Kumar
c7cec34d11 New version of 005.phpt, array_keys.phpt, array_values.phpt, extract.phpt, 009.phpt, array_map.phpt, each.phpt, array_change_key_case.phpt, array_pop.phpt, end.phpt, array_key_exists.phpt, array_search.phpt, extract.php 2007-05-12 11:20:52 +00:00
Antony Dovgal
483c3034bc fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
2007-05-10 22:08:35 +00:00
Antony Dovgal
764b33ef79 flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail 2007-05-10 16:27:16 +00:00
Antony Dovgal
3d980a73cf cleanup temp test data 2007-05-10 12:22:49 +00:00
Antony Dovgal
806ebfb3f5 fix segfault in iptcembed() 2007-05-10 12:21:42 +00:00
Antony Dovgal
2d087e6deb fix tests 2007-05-07 22:33:39 +00:00
Antony Dovgal
57a1dc0757 fix test 2007-05-07 21:38:35 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Antony Dovgal
8d9be0338b fix test names 2007-05-07 16:50:40 +00:00
Hannes Magnusson
be57963e00 Fix test
# pcre is required for the test suite so no need to check for it
# reflection can however be disabled
2007-05-06 13:11:11 +00:00
Dmitry Stogov
b890450e84 Fixed test 2007-05-02 07:27:52 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
47d3276cd7 removed unused highlight.bg ini option 2007-04-26 09:39:03 +00:00
Hannes Magnusson
2d1f188193 Plug leak 2007-04-23 16:32:37 +00:00
Dmitry Stogov
6db3e71316 64-bit support 2007-04-23 10:21:43 +00:00
Antony Dovgal
b9e9832a85 fix tests 2007-04-22 19:47:08 +00:00
Antony Dovgal
2f9871787e fix [l]trim() in unicode mode 2007-04-22 19:22:19 +00:00
Johannes Schlüter
968608f8db - Fix test 2007-04-21 02:46:29 +00:00
Antony Dovgal
a09d5573f7 fix tests 2007-04-20 21:37:31 +00:00
Antony Dovgal
714e348b9f open the file in text mode and avoid downcoding 2007-04-20 21:17:37 +00:00
Antony Dovgal
65e565a08e fix tests 2007-04-20 21:13:45 +00:00
Andrey Hristov
91d8e64e11 Update credits line 2007-04-19 09:47:48 +00:00
Dmitry Stogov
fbccef91d7 Fixed tests (win32) 2007-04-18 14:51:47 +00:00
Rob Richards
c88e2b7618 MFB: add file locking under windows
change win build to use common clock compat files
2007-04-18 09:48:07 +00:00
Antony Dovgal
cea78baddf fix putenv("var") (i.e. unset) on BSD systems
add test
2007-04-17 20:33:45 +00:00
Zoe Slattery
33c9394112 Updated testcase ltrim() 2007-04-17 11:55:39 +00:00
Antony Dovgal
51058019f6 MFB use strlcat()
fix buffer overrun & bug #41101
2007-04-16 12:49:07 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Antony Dovgal
18b3919675 fix test 2007-04-16 08:14:27 +00:00
Brian Shire
be3064577d MFB: reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
2007-04-13 02:15:12 +00:00
Antony Dovgal
63d2c1f093 return success only if succeeded casting at least one stream to fd 2007-04-12 13:15:17 +00:00
Zoe Slattery
904042bb83 new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5. 2007-04-11 11:44:37 +00:00
Antony Dovgal
5c2b931d6f skip this test on MacOS 2007-04-10 21:20:33 +00:00