Commit Graph

7433 Commits

Author SHA1 Message Date
Arpad Ray
f8a943cc19 fix zts break in r316688 2011-09-13 23:07:08 +00:00
Arpad Ray
5bc97c6cfa Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo) 2011-09-13 22:28:15 +00:00
Arpad Ray
47cfae87eb Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo) 2011-09-13 22:28:15 +00:00
Dmitry Stogov
4a25a7740d Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Dmitry Stogov
e43ff1359e Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Xinchen Hui
4c7cd475dc MFH, fix test 2011-09-13 13:20:09 +00:00
Xinchen Hui
e29ee12223 MFH, fix test 2011-09-13 13:02:57 +00:00
Xinchen Hui
3331bfb604 MFH, fix test 2011-09-13 13:02:57 +00:00
Xinchen Hui
84c94e29c9 Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543 2011-09-13 12:44:13 +00:00
Xinchen Hui
54d48bb31f Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543 2011-09-13 12:44:13 +00:00
Xinchen Hui
1bbda643f2 Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543 2011-09-13 12:44:13 +00:00
Stanislav Malyshev
ba04ba9c82 MFB crypt fix 2011-09-12 17:50:42 +00:00
Ilia Alshanetsky
2ef05a8fa4 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Ilia Alshanetsky
9915700fa1 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Ilia Alshanetsky
3d3a6a3b96 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Hannes Magnusson
d0dbb43935 Sync line ending with 5_4 2011-09-12 10:24:27 +00:00
Pierre Joye
c4c7c48ac6 - fix test, again... 2011-09-08 11:52:37 +00:00
Pierre Joye
0507a433a3 - fix test, again... 2011-09-08 11:52:37 +00:00
Pierre Joye
6f2cd0fcef - fix test 2011-09-08 11:24:33 +00:00
Pierre Joye
923c02bbdc - fix test 2011-09-08 11:24:33 +00:00
Rasmus Lerdorf
d8a0b1a9e3 This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Rasmus Lerdorf
331766c3bf This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Rasmus Lerdorf
6f03c9e38e This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Hannes Magnusson
e5553b210a Revert r316345 which fixes all the tests again 2011-09-07 13:50:18 +00:00
Hannes Magnusson
4e9a7658b8 Revert r316345 which fixes all the tests again 2011-09-07 13:50:18 +00:00
Hannes Magnusson
a078c05513 Fix folding 2011-09-07 13:46:45 +00:00
Pierre Joye
59614b05c4 - reject paths with trainling spaces using the very good new zend arg 2011-09-07 12:33:22 +00:00
Pierre Joye
6b4717da8e - reject paths with trainling spaces using the very good new zend arg 2011-09-07 12:33:22 +00:00
Hannes Magnusson
12d67c1a45 Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson
04044dd07e Fix cleanup routines 2011-09-07 12:05:19 +00:00
Hannes Magnusson
2fd3e799d8 The error message is different when built with zts 2011-09-07 10:41:38 +00:00
Hannes Magnusson
a68943fc69 The error message is different when built with zts 2011-09-07 10:41:38 +00:00
Pierre Joye
c74679be0a - fix #55622, mem corruption on large input 2011-09-06 17:41:08 +00:00
Pierre Joye
eea14c09fc - fix #55622, mem corruption on large input 2011-09-06 17:41:08 +00:00
Pierre Joye
82b14d2f86 - fix #55622, mem corruption on large input 2011-09-06 17:41:08 +00:00
Pierre Joye
d37605a5f1 - useless skipif 2011-09-06 17:10:16 +00:00
Pierre Joye
8e330affd6 - useless skipif 2011-09-06 15:49:28 +00:00
Pierre Joye
520e26718f - useless skipif 2011-09-06 15:49:28 +00:00
Pierre Joye
3d08ebd419 - useless skipif 2011-09-06 15:49:28 +00:00
Xinchen Hui
1159cd2002 move it to right place 2011-09-06 09:45:21 +00:00
Xinchen Hui
ddd98a9adc move it to right place 2011-09-06 09:45:21 +00:00
Xinchen Hui
567ab9feaf move it to right place 2011-09-06 09:45:21 +00:00
Pierre Joye
423816ef64 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
fafe247265 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
4d576e21a9 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
c21652d6e1 - fix skipif msg 2011-09-06 09:20:14 +00:00
Pierre Joye
427bb75d4b - fix skipif msg 2011-09-06 09:20:14 +00:00
Pierre Joye
f15401086b - fix skipif msg 2011-09-06 09:20:14 +00:00
Pierre Joye
8995250ee5 - fix test 2011-09-06 07:47:20 +00:00
Pierre Joye
ee9738077f - fix test 2011-09-06 07:47:20 +00:00
Pierre Joye
09e3a1c2de - fix test 2011-09-06 07:47:20 +00:00
Pierre Joye
c4c86324ec - fix test 2011-09-06 07:44:43 +00:00
Pierre Joye
7c77d6b612 - fix test 2011-09-06 07:44:43 +00:00
Pierre Joye
e240c51632 - skip on win 2011-09-06 07:32:37 +00:00
Pierre Joye
d8016e05f4 - skip on win 2011-09-06 07:32:37 +00:00
Pierre Joye
1676e4044b - skip on win 2011-09-06 07:32:37 +00:00
Stanislav Malyshev
d7ba64b4cd unused variables 2011-09-06 05:31:08 +00:00
Stanislav Malyshev
75cf1e8730 unused variables 2011-09-06 05:31:08 +00:00
Stanislav Malyshev
7f56f7eb69 allow user streams to override ch* on windows too 2011-09-06 05:28:25 +00:00
Stanislav Malyshev
442e9c5148 allow user streams to override ch* on windows too 2011-09-06 05:28:25 +00:00
Shein Alexey
491df98386 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Shein Alexey
50d8d816c5 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Shein Alexey
27ffd82f38 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Pierre Joye
fdf9771773 - use the same test on win 2011-09-05 13:37:30 +00:00
Pierre Joye
830fce0c7c - use the same test on win 2011-09-05 13:37:30 +00:00
Pierre Joye
af203fc7c4 - close the stream before removing the file (win and other system may lock it) and use test dir for tmp data 2011-09-05 13:31:13 +00:00
Pierre Joye
a2b6e6a364 - close the stream before removing the file (win and other system may lock it) and use test dir for tmp data 2011-09-05 13:31:13 +00:00
Pierre Joye
2e853f026a - close the stream before removing the file (win and other system may lock it) and use test dir for tmp data 2011-09-05 13:31:13 +00:00
Pierre Joye
7947df24af - sync&fix test with 5.3 2011-09-05 13:23:25 +00:00
Pierre Joye
7b75be20a7 - sync&fix test with 5.3 2011-09-05 13:23:25 +00:00
Pierre Joye
10ced2993b - fix test, slash or back slash can be present 2011-09-05 13:13:37 +00:00
Pierre Joye
e4337c0b27 - fix test, slash or back slash can be present 2011-09-05 13:13:37 +00:00
Pierre Joye
3c3fa89bf5 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye
d6acaddca2 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye
ea6b874ef0 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye
60a0348ccc - disable on win 2011-09-05 13:05:28 +00:00
Pierre Joye
ff0f145768 - disable on win 2011-09-05 13:05:28 +00:00
Pierre Joye
cd749225d5 - disable on win 2011-09-05 13:05:28 +00:00
Pierre Joye
8acede547d - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye
5dc49bebaa - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye
90237836f8 - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye
df4515dec8 - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Pierre Joye
997a86ebb9 - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Pierre Joye
b2eed23e0c - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Hannes Magnusson
ddb7740944 typo 2011-09-05 12:00:24 +00:00
Hannes Magnusson
8154263956 typo 2011-09-05 12:00:24 +00:00
Hannes Magnusson
37dc06ea83 typo 2011-09-05 12:00:24 +00:00
Pierre Joye
a65e04be53 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Pierre Joye
42ca18e853 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Pierre Joye
0f8594f753 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Shein Alexey
fae3000d44 Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Shein Alexey
d1e7999d5b Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Shein Alexey
5f5b7175ea Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Pierre Joye
6ff887636a - force LF and enable it on windows now 2011-09-05 10:59:26 +00:00
Hannes Magnusson
a1ecf8c887 Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +00:00
Hannes Magnusson
3986046b6e Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +00:00
Hannes Magnusson
cb4cbc7c11 Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +00:00
Pierre Joye
2ecaee20e9 - update test to the zeng arg path argument 2011-09-05 10:29:12 +00:00
Pierre Joye
2c2419623e - update test to the zeng arg path argument 2011-09-05 10:29:12 +00:00
Pierre Joye
69a1e5d3ac - fix test 2011-09-05 10:14:13 +00:00
Pierre Joye
f3dc9b1bd1 - fix test 2011-09-05 10:13:46 +00:00
Hannes Magnusson
22c4ca480f Interesting typo... 2011-09-05 09:34:14 +00:00
Hannes Magnusson
8db93019b4 Not all submodules have MINIT, but they have MINFO and need to be registered
(cought by tyrael@)
2011-09-05 09:27:23 +00:00
Gustavo André dos Santos Lopes
cc45ce4586 - Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
5aa6b7a294 - Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
ac20ab11f7 - Fixed bug #55576: Cannot conditionally move uploaded file without race
condition.
2011-09-04 23:00:47 +00:00
Pierre Joye
8d0096e2d9 - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Pierre Joye
7e5d92106b - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Pierre Joye
861dac9726 - unify warning between win and unix and enable test 2011-09-04 21:48:22 +00:00
Ferenc Kovacs
c6d59bd2fa pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE 2011-09-02 20:28:39 +00:00
Ferenc Kovacs
7632d09a81 pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE 2011-09-02 20:28:39 +00:00
Ferenc Kovacs
38131641a0 pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE 2011-09-02 20:28:39 +00:00
Tjerk Anne Meesters
323ee1fe4c Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Tjerk Anne Meesters
bc7942adb5 Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Tjerk Anne Meesters
892ac1fe58 Fixed expect format to ignore the textual error message from readlink().
Bug #55555
2011-08-31 18:26:23 +00:00
Xinchen Hui
92e84dbe3f Fixed test failed 2011-08-31 07:49:52 +00:00
Xinchen Hui
8c93430a6a Fixed test failed, due to error message changed 2011-08-31 07:37:42 +00:00
Stanislav Malyshev
c268811b01 fix strptime tests for mac 2011-08-31 07:34:07 +00:00
Stanislav Malyshev
a84c0ab32b fix strptime tests for mac 2011-08-31 07:34:07 +00:00
Stanislav Malyshev
9d52e9b15f test fixes on Darwin 2011-08-31 07:10:17 +00:00
Stanislav Malyshev
25031cd387 test fixes on Darwin 2011-08-31 07:10:17 +00:00
Gustavo André dos Santos Lopes
49323ad447 - Fixed test htmlentities15.phpt. 2011-08-31 06:32:05 +00:00
Gustavo André dos Santos Lopes
6690258734 - Fixed test htmlentities15.phpt. 2011-08-31 06:32:05 +00:00
Gustavo André dos Santos Lopes
72e35ba476 - html_tables.h regeneration. 2011-08-31 05:47:19 +00:00
Gustavo André dos Santos Lopes
f0abb36192 - html_tables.h regeneration. 2011-08-31 05:47:19 +00:00
Gustavo André dos Santos Lopes
79bb42548d - Less GCC warnings; code less readable, yay!
- Fixed html_tables.h generaration in 64-bit archs.
- Closes bug #55394 - Patch to suppress initialization warnings in html.c
#signed/unsigned mismatches for another day
#regenerated tables on another commit
2011-08-31 05:45:02 +00:00
Gustavo André dos Santos Lopes
1a9d43a807 - Less GCC warnings; code less readable, yay!
- Fixed html_tables.h generaration in 64-bit archs.
- Closes bug #55394 - Patch to suppress initialization warnings in html.c
#signed/unsigned mismatches for another day
#regenerated tables on another commit
2011-08-31 05:45:02 +00:00
Arpad Ray
a6a08dc322 Fixed bug #55366: keys lost when using substr_replace an array 2011-08-29 21:35:28 +00:00
Arpad Ray
0e3b5b137c Fixed bug #55366: keys lost when using substr_replace an array 2011-08-29 20:38:52 +00:00
Arpad Ray
a912bd3c23 Fixed bug #55366: keys lost when using substr_replace an array 2011-08-29 20:38:52 +00:00
Arpad Ray
b52256c5be add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions 2011-08-29 20:23:34 +00:00
Arpad Ray
4a6c2a8b44 add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions 2011-08-29 20:23:34 +00:00
Xinchen Hui
9fb62f3382 Sync r314808 to 5_3 branch
Eliminated compiler warnings "comparison is always false",  "cast to pointer from integer of different siz" and tail zero warnings
2011-08-23 10:18:48 +00:00
Adam Harvey
8c007d8179 Fix bug #55483 (extra > at the end of html tag in phpinfo). 2011-08-23 06:07:24 +00:00
Stanislav Malyshev
81ad401604 Unbreak crypt() (fix bug #55439)
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Stanislav Malyshev
51af64acf6 Unbreak crypt() (fix bug #55439)
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Stanislav Malyshev
4f980905a0 Unbreak crypt() (fix bug #55439)
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Pierre Joye
0d82e0c266 - Fixed bug #52461 (Incomplete doctype and missing xmlns) 2011-08-19 09:59:47 +00:00
Pierre Joye
5f429c57e9 - Fixed bug #52461 (Incomplete doctype and missing xmlns) 2011-08-19 09:59:47 +00:00
Pierre Joye
15c1a73678 - Fixed bug #52461 (Incomplete doctype and missing xmlns) 2011-08-19 09:59:47 +00:00
Xinchen Hui
fa1883de19 Omitted GCC warning "comparison is always false" 2011-08-12 07:47:03 +00:00
Xinchen Hui
ba9546b8e5 Omitted GCC warning "comparison is always false" 2011-08-12 07:47:03 +00:00
Ilia Alshanetsky
9e9d2a9ce6 Missing file relating to previous commit 2011-08-11 13:02:16 +00:00
Ilia Alshanetsky
78c823067f Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path) 2011-08-11 13:01:52 +00:00
Ilia Alshanetsky
cc93e8e51f Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path) 2011-08-11 13:01:52 +00:00
Ilia Alshanetsky
46513c07dc Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path) 2011-08-11 13:01:52 +00:00
Rasmus Lerdorf
de90c602e1 Use HOST_NAME_MAX constant here instead for the gethostname() func 2011-08-10 17:40:56 +00:00
Rasmus Lerdorf
14948624af Use HOST_NAME_MAX constant here instead for the gethostname() func 2011-08-10 17:40:56 +00:00
Rasmus Lerdorf
46f5813895 Use HOST_NAME_MAX constant here instead for the gethostname() func 2011-08-10 17:40:56 +00:00
Ilia Alshanetsky
9fd373d8b6 Fix win32 build 2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
b207eebf57 Fix win32 build 2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
e4a64006ab Fix win32 build 2011-08-10 15:59:32 +00:00
Xinchen Hui
d5688cd19e Eliminated compiler's warnings 2011-08-10 11:59:11 +00:00
Xinchen Hui
5540b64a3d Eliminated compiler's warnings 2011-08-10 11:59:11 +00:00
Ilia Alshanetsky
d091516c31 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Ilia Alshanetsky
8c846a6f74 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Ilia Alshanetsky
521ce49819 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Xinchen Hui
64fc565765 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Xinchen Hui
5dc3195897 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Xinchen Hui
0630945ac4 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Gustavo André dos Santos Lopes
a61534eab8 - Elided unused argument in internal linkage function. 2011-08-09 00:40:45 +00:00
Gustavo André dos Santos Lopes
177645fd05 - Elided unused argument in internal linkage function. 2011-08-09 00:40:45 +00:00
Ilia Alshanetsky
92d68c62af Make static analyzers happy 2011-08-08 12:10:27 +00:00
Ilia Alshanetsky
4122a1dd9a Make static analyzers happy 2011-08-08 12:10:27 +00:00
Ilia Alshanetsky
9c834bd51c Make static analyzers happy 2011-08-08 12:10:27 +00:00
Xinchen Hui
a7852bcb00 Make codes more clearly, and make the static analyzer silent.. 2011-08-08 06:49:17 +00:00
Xinchen Hui
caedca8dd0 Make codes more clearly, and make the static analyzer silent.. 2011-08-08 06:49:17 +00:00
Xinchen Hui
44e2c266c3 Remove no sense statements 2011-08-08 00:47:40 +00:00
Xinchen Hui
fb617c33d4 Remove no sense statements 2011-08-08 00:47:40 +00:00
Xinchen Hui
4e97a9fc3f Remove no sense statements 2011-08-08 00:47:40 +00:00
Rasmus Lerdorf
37c18f5ebe Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
d4a716b19d Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
7eb5bbbf65 Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
bcf8485ef5 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Rasmus Lerdorf
cc19cc8b18 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Rasmus Lerdorf
97bc4c8403 Make static analyzers happy 2011-08-07 15:38:36 +00:00
Xinchen Hui
57ec3758b7 revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
2ce3f11f4b revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
376a04e14f revert -r314422
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
b2110c3eea Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Xinchen Hui
a35462c71c Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Xinchen Hui
59b7b2701c Fixed bug that may dereferenced NULL pointer before checking 2011-08-07 13:19:04 +00:00
Pierrick Charron
029d7f4c6c class entry is never used 2011-08-07 06:04:11 +00:00
Pierrick Charron
ae1746c876 class entry is never used 2011-08-07 06:04:11 +00:00
Pierrick Charron
a8ed880c64 class entry is never used 2011-08-07 06:04:11 +00:00
Rasmus Lerdorf
b7a92c9709 I'm pretty sure you didn't mean to multiple by the size of a char* there
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review
2011-08-07 00:36:26 +00:00
Rasmus Lerdorf
8dc951194b I'm pretty sure you didn't mean to multiple by the size of a char* there
since that makes no sense. output is an array of char, not an array of
char*
Pierre, please review
2011-08-07 00:36:26 +00:00
Felipe Pena
997f323e3a - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
9480eace41 - Added ZEND_MOD_END macro to use in the end of zend_module_dep[] 2011-08-06 14:47:44 +00:00
Felipe Pena
13eb47a8bc - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Felipe Pena
783b05326a - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Felipe Pena
9c289189d3 - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Stanislav Malyshev
1c83f5e04c fix tests 2011-08-01 03:42:02 +00:00
Stanislav Malyshev
30aa3cea6a fix tests 2011-08-01 03:42:02 +00:00
Stanislav Malyshev
44add6d195 fix termination in sha-512 too 2011-07-31 23:14:04 +00:00
Stanislav Malyshev
5b5c393f82 fix termination in sha-512 too 2011-07-31 23:14:04 +00:00
Stanislav Malyshev
b56c6b24ff fix termination in sha-512 too 2011-07-31 23:14:04 +00:00
Stanislav Malyshev
6e246ad0d5 fix salt truncation bug in sha256 2011-07-31 21:47:03 +00:00
Stanislav Malyshev
0c5dd2c360 fix salt truncation bug in sha256 2011-07-31 21:47:03 +00:00
Stanislav Malyshev
d868c71617 fix salt truncation bug in sha256 2011-07-31 21:47:03 +00:00
Pierre Joye
caf6a6dc7a - blowfish 1.2 update, 2nd part 2011-07-31 20:50:09 +00:00
Pierre Joye
a7e1a71bad - blowfish 1.2 update, 2nd part 2011-07-31 20:50:09 +00:00
Pierre Joye
991e108a85 - blowfish 1.2 update, 2nd part 2011-07-31 20:50:09 +00:00
Pierre Joye
673fe19b39 - add test for blowfish 1.2 (Solar Designer) 2011-07-31 10:11:20 +00:00
Pierre Joye
96b142795c - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Pierre Joye
74de7dd66d - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Pierre Joye
b3ccd26eb4 - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Pierre Joye
fc8afdf178 - Fixed bug 55124, recursive mkdir fails with current (dot) directory in path 2011-07-26 17:44:20 +00:00
Pierre Joye
db25201ffb - Fixed bug 55124, recursive mkdir fails with current (dot) directory in path 2011-07-26 17:44:20 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Rasmus Lerdorf
c2663588e1 When you add something that changes the phpinfo output, please
update this test.
2011-07-25 05:32:08 +00:00
Rasmus Lerdorf
c168ea8477 When you add something that changes the phpinfo output, please
update this test.
2011-07-25 05:32:08 +00:00
Felipe Pena
fcb9e4b2b3 - Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets 2011-07-23 01:08:24 +00:00
Felipe Pena
a6eaf353c0 - Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets 2011-07-23 01:08:24 +00:00
Felipe Pena
b2558d5f35 - Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets 2011-07-23 01:08:24 +00:00
Pierrick Charron
824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierrick Charron
fb5da94c1b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Pierre Joye
9805e1674a - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Pierre Joye
cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Pierre Joye
83b69f4034 - Fixed bug #55258 (Windows Version Detecting Error) (already fixed in trunk/5.4) 2011-07-21 14:49:55 +00:00
Felipe Pena
c3c761ffeb - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-07-19 22:12:13 +00:00
Felipe Pena
81e8615cc3 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-07-19 22:12:13 +00:00
Felipe Pena
e97b0d7522 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-07-19 22:12:13 +00:00
Pierre Joye
8280b0a710 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Pierre Joye
264e5c0567 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Pierre Joye
03315d9625 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +00:00
Philip Olson
1cf88d931e Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
Philip Olson
e89370d4dc Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
Philip Olson
0b9be2918d Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727 2011-07-15 19:17:22 +00:00
David Soria Parra
cad2e53064 Fix #55212. Only declare STREAM_PF_INET6 if PHP is compiled with IPv6 support 2011-07-15 15:25:24 +00:00
David Soria Parra
fa79f2f46b Fix #55212. Only declare STREAM_PF_INET6 if PHP is compiled with IPv6 support 2011-07-15 15:25:24 +00:00
Pierre Joye
3be1f24fba - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Pierre Joye
b6745ea43a - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Pierre Joye
dd1a0be3c0 - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Kalle Sommer Nielsen
513dc26776 Changed http_response_code() to be able to set a response code 2011-07-12 03:56:32 +00:00
Kalle Sommer Nielsen
9f782a73e8 Changed http_response_code() to be able to set a response code 2011-07-12 03:56:32 +00:00
Dmitry Stogov
7d1eef4aa7 Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Dmitry Stogov
adb87c8d06 Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Dmitry Stogov
8171e1d81e Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption) 2011-07-11 09:47:59 +00:00
Ilia Alshanetsky
43edfb2710 Fixed bug relating to un-initialized memory access 2011-07-05 20:10:45 +00:00
Ilia Alshanetsky
3c82aab151 Fixed bug relating to un-initialized memory access 2011-07-05 20:10:45 +00:00
Ilia Alshanetsky
1a4456bb76 Fixed bug relating to un-initialized memory access 2011-07-05 20:10:45 +00:00
Stanislav Malyshev
5bd0be8a15 fix crypt() issue with overlong salt 2011-07-04 23:38:09 +00:00
Stanislav Malyshev
e3668bdf1c fix crypt() issue with overlong salt 2011-07-04 23:38:09 +00:00
Stanislav Malyshev
01249bb40b fix crypt() issue with overlong salt 2011-07-04 23:38:09 +00:00
Dmitry Stogov
34b8924f95 Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Dmitry Stogov
adabdede5e Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Dmitry Stogov
293f710827 Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 2011-07-04 14:55:39 +00:00
Gustavo André dos Santos Lopes
86ff3bab2d - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Gustavo André dos Santos Lopes
404686447b - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Gustavo André dos Santos Lopes
3dafd9549d - Fixed bug #55082 (var_export() doesn't escape properties properly). 2011-06-30 09:26:35 +00:00
Ilia Alshanetsky
aa2ec7517e Fixed test 2011-06-28 23:47:05 +00:00
Ilia Alshanetsky
b2a3d3132d Fixed test 2011-06-28 23:47:05 +00:00
Ilia Alshanetsky
b9ffb87960 Fixed test 2011-06-28 23:47:05 +00:00
Stanislav Malyshev
b158091ed6 Fix crypt_blowfish 8-bit chars problem (CVE-2011-2483), add tests
# See details at http://www.openwall.com/lists/announce/2011/06/21/1
2011-06-26 21:34:39 +00:00
Stanislav Malyshev
3acd5811ae Fix crypt_blowfish 8-bit chars problem (CVE-2011-2483), add tests
# See details at http://www.openwall.com/lists/announce/2011/06/21/1
2011-06-26 21:34:39 +00:00
Knut Urdalen
27934faf97 small fix in disk_total_space() tests (PHP_5_3 already includes this) 2011-06-25 21:22:42 +00:00
Knut Urdalen
c5a4e11bab small fix in disk_total_space() tests (PHP_5_3 already includes this) 2011-06-25 21:22:42 +00:00
Felipe Pena
6c02d95bd3 - Missing valid path check 2011-06-23 21:53:25 +00:00
Felipe Pena
f9f298cc0b - Missing valid path check 2011-06-23 21:53:25 +00:00
Felipe Pena
08ddf683fc - Fixed crash in error_log() (strlen(NULL)) reported by: shm, Maksymilian Arciemowicz 2011-06-23 21:48:15 +00:00
Hannes Magnusson
9f8501b3b7 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
ffc6da20a0 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Hannes Magnusson
71a5c3d7ec These are annoyingly slow 2011-06-23 21:27:42 +00:00
Ilia Alshanetsky
34d93f0c06 Zend Signal Handling 2011-06-22 14:23:21 +00:00
Patrick Allaert
97ec4f2702 Changed register_shutdown_function() to reflect that it is using a cb (thx arpad) 2011-06-20 07:11:21 +00:00
Stanislav Malyshev
177612ca4d re-generate credits 2011-06-19 17:56:09 +00:00
Felipe Pena
8f68b48514 - Fix tests 2011-06-19 15:43:16 +00:00
Felipe Pena
f417c732a9 - Fix tests 2011-06-19 15:43:16 +00:00
Felipe Pena
8d6e997315 - Opss, restore old behavior 2011-06-19 14:50:44 +00:00
Felipe Pena
3276cc4f7a - Opss, restore old behavior 2011-06-19 14:50:44 +00:00
Felipe Pena
868b808f4c - Opss, restore old behavior 2011-06-19 14:50:44 +00:00
Felipe Pena
0806f78f77 - Added missing void param check in sys_get_temp_dir
- Fixed param check of umask()
2011-06-19 14:27:33 +00:00
Felipe Pena
54d5662919 - Added missing void param check in sys_get_temp_dir
- Fixed param check of umask()
2011-06-19 14:27:33 +00:00
Felipe Pena
d8782ddaeb - Added missing void param check in sys_get_temp_dir
- Fixed param check of umask()
2011-06-19 14:27:33 +00:00
Felipe Pena
e98eafeedf - Missing usage of 'p' parameter specifier 2011-06-19 13:20:12 +00:00
Felipe Pena
b9746b0ba6 - Missing usage of 'p' parameter specifier 2011-06-19 13:20:12 +00:00
Felipe Pena
bc6cb0c70d - Fixed bug #54680 (missing TRACK_VARS_SERVER check) 2011-06-12 02:47:48 +00:00
Felipe Pena
8d4a35f3e9 - Fixed bug #54680 (missing TRACK_VARS_SERVER check) 2011-06-12 02:47:48 +00:00
Felipe Pena
0ec1758381 - Fixed bug #54680 (missing TRACK_VARS_SERVER check) 2011-06-12 02:47:48 +00:00
Gustavo André dos Santos Lopes
8d52500d41 - Reverted r301991, which is a (partial) fix to bug #52550, addressing an
overflow in a signed subtraction. This fixes the overflow without
  changing the algorithm.
2011-06-12 00:56:18 +00:00
Gustavo André dos Santos Lopes
89da1ab1e8 - Reverted r301991, which is a (partial) fix to bug #52550, addressing an
overflow in a signed subtraction. This fixes the overflow without
  changing the algorithm.
2011-06-12 00:56:18 +00:00
Gustavo André dos Santos Lopes
a54847a0fb - Reverted r301991, which is a (partial) fix to bug #52550, addressing an
overflow in a signed subtraction. This fixes the overflow without
  changing the algorithm.
2011-06-12 00:56:18 +00:00
Felipe Pena
0a0443f07c - Missing fixes for grammar fix 's/valid path/a valid path/' 2011-06-09 00:23:43 +00:00
Felipe Pena
8f4d497964 - Missing fixes for grammar fix 's/valid path/a valid path/' 2011-06-09 00:23:43 +00:00
Ilia Alshanetsky
80f46ca2c5 Fixed test to account for smaller default floating point # precision 2011-06-08 02:03:14 +00:00
Ilia Alshanetsky
9277da7d9d Fixed test to account for smaller default floating point # precision 2011-06-08 02:03:14 +00:00
Ilia Alshanetsky
d42683cbd2 Fixed test to account for smaller default floating point # precision 2011-06-08 02:03:14 +00:00
Felipe Pena
ddaddf6c2a s/valid path/a valid path/ 2011-06-08 00:53:55 +00:00
Felipe Pena
547ab48521 s/valid path/a valid path/ 2011-06-08 00:53:55 +00:00
Felipe Pena
a641ccb774 - Test fixes 2011-06-07 02:29:03 +00:00
Felipe Pena
ac86bf82b4 - Test fixes 2011-06-07 02:29:03 +00:00
Felipe Pena
33a8442c5d - Fix memory leak caused by RSHUTDOWN not being called by MINIT dependency 2011-06-07 01:58:56 +00:00
Felipe Pena
d86b3633cf - Test fixes 2011-06-06 22:36:54 +00:00
Felipe Pena
8da563ed9a - Test fixes 2011-06-06 22:36:54 +00:00
Felipe Pena
32b5f8a1a3 - Added new parameter parsing option (p - for valid path (string without null byte in the middle))
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00