Commit Graph

6712 Commits

Author SHA1 Message Date
Alan Knowles
60093a0ca5 fix is_a errror test so they test correctly against new behaviour of is_a and is_subclass_of 2011-09-27 00:42:56 +00:00
Alan Knowles
779ca152bf move autoloaded is_a test to where all the other is_a tests are 2011-09-27 00:19:43 +00:00
Pierre Joye
aeee365d72 - be sure to check if the var ha not been removed between the two calls 2011-09-26 08:49:28 +00:00
Pierre Joye
3e0e2820b8 - Fix bug #55622, better fix for this issue, old fix can break if sizeof(size_t) > sizeof(int) like on sparc 2011-09-26 08:36:33 +00:00
Felipe Pena
3d34acbb5f - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-09-17 00:01:45 +00:00
Xinchen Hui
29bba1fd42 Fix test, Make warning message bison independed 2011-09-14 08:49:29 +00:00
Xinchen Hui
4c7cd475dc MFH, fix test 2011-09-13 13:20:09 +00:00
Xinchen Hui
3331bfb604 MFH, fix test 2011-09-13 13:02:57 +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
Ilia Alshanetsky
2ef05a8fa4 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +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
Pierre Joye
c74679be0a - fix #55622, mem corruption on large input 2011-09-06 17:41:08 +00:00
Pierre Joye
8e330affd6 - 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
Pierre Joye
423816ef64 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
f15401086b - fix skipif msg 2011-09-06 09:20:14 +00:00
Pierre Joye
09e3a1c2de - fix test 2011-09-06 07:47:20 +00:00
Pierre Joye
e240c51632 - skip on win 2011-09-06 07:32:37 +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
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
3c3fa89bf5 - 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
8acede547d - 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
Hannes Magnusson
ddb7740944 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
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
Hannes Magnusson
a1ecf8c887 Fix test to use microtime() as time() doesn't always catchup fast enough :] 2011-09-05 10:55:07 +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
Pierre Joye
8d0096e2d9 - 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
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
Arpad Ray
a6a08dc322 Fixed bug #55366: keys lost when using substr_replace an array 2011-08-29 21:35:28 +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
Pierre Joye
0d82e0c266 - Fixed bug #52461 (Incomplete doctype and missing xmlns) 2011-08-19 09:59:47 +00:00
Ilia Alshanetsky
cc93e8e51f 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
Ilia Alshanetsky
9fd373d8b6 Fix win32 build 2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
d091516c31 Minimize stack usage and added missing dtors 2011-08-09 13:10:57 +00:00
Xinchen Hui
0630945ac4 Avoiding strcpy, strcat, sprintf usage to make static analyzer happy 2011-08-09 12:16:58 +00:00
Ilia Alshanetsky
92d68c62af Make static analyzers happy 2011-08-08 12:10:27 +00:00
Xinchen Hui
44e2c266c3 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
bcf8485ef5 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
b2110c3eea 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
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
13eb47a8bc - Added missing PHP_FE_END/ZEND_FE_END 2011-08-06 01:22:27 +00:00
Stanislav Malyshev
44add6d195 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
Pierre Joye
caf6a6dc7a - 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
b3ccd26eb4 - Fix #55301 (url scanner part) check if malloc succeded 2011-07-28 10:52:45 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +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
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
Pierre Joye
8280b0a710 - update blowfish to 1.2 (Solar Designer) 2011-07-18 21:26:29 +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
Pierre Joye
3be1f24fba - Fixed bug #55187, readlink returns weird characters when false result 2011-07-12 15:15:17 +00:00
Dmitry Stogov
7d1eef4aa7 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
Stanislav Malyshev
5bd0be8a15 fix crypt() issue with overlong salt 2011-07-04 23:38:09 +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
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
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
71a5c3d7ec These are annoyingly slow 2011-06-23 21:27:42 +00:00
Felipe Pena
8d6e997315 - 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
0ec1758381 - Fixed bug #54680 (missing TRACK_VARS_SERVER check) 2011-06-12 02:47:48 +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
Ilia Alshanetsky
9277da7d9d Fixed test to account for smaller default floating point # precision 2011-06-08 02:03:14 +00:00
Philip Olson
f472141549 Updated the note maintainers credits 2011-06-05 06:57:13 +00:00
Gustavo André dos Santos Lopes
479a47d8af Merge of fix for bug #54918 (r311745, scottmac) to 5.3. 2011-06-03 09:39:45 +00:00
Gustavo André dos Santos Lopes
7af15a41d9 - Fixed double registering of browscap ini directive. See bug #54896. 2011-06-02 08:46:40 +00:00
Hannes Magnusson
3b030ec75f Fixed bug #54946 (stream_get_contents infinite loop) 2011-05-29 12:29:19 +00:00
Ilia Alshanetsky
69a12bfb3f Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). 2011-05-29 10:23:06 +00:00
Ilia Alshanetsky
ef74038d1d Fixed bug #54137 (file_get_contents POST request sends additional line break). 2011-05-29 09:23:08 +00:00
Ilia Alshanetsky
8267eaf1bf Fixed bug #54924 (assert.* is not being reset upon request shutdown). 2011-05-26 18:17:43 +00:00
Pierre Joye
885357a711 -fix bug 54935, php_win_err can lead to crash 2011-05-26 14:37:13 +00:00
Philip Olson
983cedfd94 Fixed test, as per r311323 2011-05-25 00:02:05 +00:00
Felipe Pena
4bf9334a82 - Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
Patch by: slusarz at curecanti dot org
2011-05-24 23:49:26 +00:00
Philip Olson
e2caad5f96 Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same. 2011-05-24 23:27:49 +00:00
Pierre Joye
e38369c532 - Fix #54721, different Hashes on Windows, BSD and Linux on wrong Salt size 2011-05-24 13:48:04 +00:00
Pierre Joye
0d8e83532a - make svn-eol LF and use one test for unix and windows 2011-05-24 09:44:55 +00:00
Rasmus Lerdorf
ba8ce4a6d4 Increase the overly conservative pcre backtrack limit from 100000 to 1000000 2011-05-21 19:48:37 +00:00
Felipe Pena
f7e6e6cedf - Fixed bug #54895 (Fix compiling with older gcc version without need for membar_producer macro)
patch by: mhei at heimpold dot de
2011-05-20 21:24:51 +00:00
Ferenc Kovacs
f551ed4189 fix the test with the removal of the unnecessary newline 2011-05-16 23:33:05 +00:00
Ferenc Kovacs
23cab07e4f adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it 2011-05-16 23:31:14 +00:00
Ferenc Kovacs
36fde4043b removing XFAIL as #39863 has already been fixed 2011-05-16 23:28:46 +00:00
Ferenc Kovacs
a944f7a663 reverting 311103,311105-311109, will commit them to all three branches 2011-05-16 23:22:17 +00:00
Ferenc Kovacs
76425aaca1 fix the test with the removal of the unnecessary newline 2011-05-16 19:51:39 +00:00
Ferenc Kovacs
c4e6beebb3 adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it 2011-05-16 19:49:59 +00:00
Ferenc Kovacs
df2ca16fa8 removing XFAIL as #39863 has already been fixed 2011-05-16 19:40:12 +00:00
Rasmus Lerdorf
24be7e2106 We can't really predict what will happen on an unknown host lookup
since bogus ISPs like Comcast and many others try to "help" by resolving
everything to their own search page.
2011-05-15 01:52:07 +00:00
Martin Jansen
2ce1fd71ea Fixed two failing tests that were caused by arbitrarily chosen
but apparently bogus upper resp. lower limits for mt_rand().
2011-05-14 20:29:46 +00:00