Rui Hirokawa
61088ce729
MFH: fixed bug #60227 : header() cannot detect the multi-line header with CR.
2012-01-14 07:41:01 +00:00
Pierre Joye
c97197b377
- make it windows version independent, error msg differs, bad but well
2012-01-10 08:30:00 +00:00
Pierre Joye
5d85b02bca
- error is windows version dependent and not what we test here
2012-01-09 15:31:33 +00:00
Nuno Lopes
bf7df5aff5
do kill 9 to fix a race condition in this test. (should fix the debian 32-bit buildbot)
2012-01-08 18:03:56 +00:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Gustavo André dos Santos Lopes
ae054ae502
- Fixed bug #60570 (http wrapper leaks context resource if request fails/is
...
redirected).
2011-12-21 15:44:58 +00:00
Pierre Joye
848d71da29
- tmp dir is system depedent
2011-12-13 23:18:12 +00:00
Pierre Joye
8e54a63133
- skip on win
2011-12-13 23:04:01 +00:00
Pierre Joye
603bfaaff4
- ignore notices here, not what we test (array to string conversion)
2011-12-13 13:46:27 +00:00
Pierre Joye
3a68270fcf
- use the test itself, making the test passes when ran outside the src tree
2011-12-12 19:09:01 +00:00
Pierre Joye
52e77c9bc8
- skip on win
2011-12-12 14:03:24 +00:00
Pierre Joye
7eee6fa759
- skip on win
2011-12-12 14:02:06 +00:00
Pierre Joye
aa37291e20
- skip on win
2011-12-12 13:56:42 +00:00
Pierre Joye
ec9b8149e1
- skip on win
2011-12-12 13:53:38 +00:00
Pierre Joye
c0ba404054
- skip on win
2011-12-12 13:49:21 +00:00
Pierre Joye
1a7f05705f
- skip on win
2011-12-12 13:34:21 +00:00
Pierre Joye
a4ecf57a30
- skip on win
2011-12-12 13:31:43 +00:00
Gustavo André dos Santos Lopes
74d2b2f0bd
- Fixed bug #60455 : stream_get_line misbehaves if EOF is not detected together
...
with the last read.
2011-12-11 21:08:15 +00:00
Patrick Allaert
183493d624
Added tests contributions on spl_autoload and stream_context_set_option()
...
Thank you Jean-Marc Fontaine and Alter Way
2011-12-09 11:23:19 +00:00
Xinchen Hui
aa5ce0b58d
warning: suggest parentheses around && within ||
2011-11-25 07:50:18 +00:00
Dmitry Stogov
48a5ab0eca
Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size)
2011-11-23 10:49:42 +00:00
Felipe Pena
4fffb5f5e0
- Fixed invalid free in call_user_method() function
2011-11-22 12:47:08 +00:00
Felipe Pena
42776c0259
- Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs)
...
patch by: klightspeed at netspace dot net dot au
2011-11-15 20:33:26 +00:00
Felipe Pena
5f0e6a74ba
- Fixed bug #52624 (tempnam() by-pass open_basedir with inexistent directory)
2011-11-15 16:59:59 +00:00
Gustavo André dos Santos Lopes
edea1c7b45
- Fixed tests in ext/standard/tests/http by adding the INI setting value
...
allow_url_fopen=1
- Converted test file from dos line endings to unix line endings.
2011-11-14 01:12:23 +00:00
Antony Dovgal
152aaba03f
bail out if reading HTTP headers failed
2011-11-08 16:38:56 +00:00
Pierre Joye
03b39896a6
- fixed bug #60120 , proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes
2011-10-24 12:39:55 +00:00
Pierre Joye
b7354a30cd
- win9x is not supported anymore since 5.3
2011-10-24 10:53:17 +00:00
Ferenc Kovacs
c18a8bfe63
duh, I didn't wanted to commit that modification
2011-10-23 20:14:26 +00:00
Ferenc Kovacs
b38d56616b
adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches
2011-10-23 10:09:29 +00:00
Ferenc Kovacs
a7a5776be7
fix test, it was fixed for trunk and 5.4 in r314005
2011-10-22 22:57:55 +00:00
Gustavo André dos Santos Lopes
d3fdacb99f
- Fixed #55798 : serialize followed by unserialize with numeric object prop.
...
gives integer prop.
2011-09-28 14:47:42 +00:00
Alan Knowles
0db9b9b141
remove paths from is_a and is_subclass tests
2011-09-27 07:59:47 +00:00
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
Scott MacVicar
a0857d56ac
Fixed bug #54723 - getimagesize() doesn't check the full ico signature and misreports mpg files
2011-05-13 05:06:48 +00:00
Scott MacVicar
cab76530e7
Turns out that more than 1% of users clocks are more than a year out of date, this causes cookies to never get deleted since the date is in the future.
...
I can only guess its due to batteries on the motherboard being dead.
2011-05-10 19:09:24 +00:00
Antony Dovgal
176c6fe901
fix test
2011-05-04 08:28:31 +00:00
Antony Dovgal
278392a10b
fix tests
2011-05-03 11:15:45 +00:00
Antony Dovgal
93ce043480
fix segfault in ext/standard/tests/network/http-stream.phpt
2011-05-02 16:17:52 +00:00
Antony Dovgal
f3cd7fdda4
fix ZTS build for 5_3, too
2011-05-01 19:46:27 +00:00
Gustavo André dos Santos Lopes
a2e0e2564d
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
...
directive is set in activation time). This commit fixes this by adding a per
request parsing of the browscap file that's when get_browser is called the
first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes
6df67ace20
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
...
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Rasmus Lerdorf
8192ba2b60
Someone fixed these in trunk and didn't backport to PHP_5_3
2011-04-27 05:05:32 +00:00
Pierrick Charron
1153eaf505
Revert bug #54454 fix from PHP_5_3 branch to avoid BC break in minor release
2011-04-21 01:51:24 +00:00
Felipe Pena
782c00d744
- Remove undesired line (reported by Gökhan Özbulak)
2011-04-13 13:38:52 +00:00
Stanislav Malyshev
2e206e0761
fix bug #54238 (use-after-free in substr_replace())
2011-04-13 06:32:41 +00:00
Adam Harvey
840308cfd0
Implement FR #54459 (Range function accuracy) by changing the way range()
...
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Adam Harvey
f9721d03f7
Fix duplicated test.
2011-04-06 10:16:14 +00:00
Pierrick Charron
e8486cc374
Fix common typos in the source code (Reported in Bug #54065 )
...
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierrick Charron
4919f3286b
Fixed bug #54454 (substr_compare incorrectly reports equality in some cases)
2011-04-03 07:18:27 +00:00
Pierrick Charron
5a53a74304
Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment)
2011-03-17 18:02:58 +00:00