Antony Dovgal
|
31ce08253c
|
MFH
|
2007-06-04 17:18:51 +00:00 |
|
Brian Shire
|
55b5b89ef7
|
fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix)
# just made these EXPECTREGEX expressions, if there's a prefered way to comply with both 32/64 bit let me know.
|
2007-06-04 01:23:07 +00:00 |
|
Ilia Alshanetsky
|
405a15043f
|
Corrected fix for CVE-2007-2872
|
2007-06-03 18:47:10 +00:00 |
|
Brian Shire
|
79e3c88352
|
MFH: Change printf %u behavior so that it does not truncate numbers at 32-bits. (Reported by Aditya Agarwal.)
|
2007-06-03 09:12:04 +00:00 |
|
Antony Dovgal
|
8e3eee385e
|
MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file)
|
2007-06-01 13:35:23 +00:00 |
|
Ilia Alshanetsky
|
9282d4add6
|
Fixed an interger overflow inside chunk_split(), identified by Gerhard
Wagner
|
2007-05-30 00:33:13 +00:00 |
|
Antony Dovgal
|
f7ec7197f7
|
fix tests
|
2007-05-29 10:25:33 +00:00 |
|
Hannes Magnusson
|
c0dd1f4d0b
|
MFH
|
2007-05-28 12:19:41 +00:00 |
|
Ilia Alshanetsky
|
6f61e84727
|
Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()).
|
2007-05-27 17:33:39 +00:00 |
|
Nuno Lopes
|
2c5368c013
|
fix handling of && by htmlentities 'no-double-encode'
expand the test cases
|
2007-05-27 15:57:11 +00:00 |
|
Nuno Lopes
|
452524fe3a
|
fix the new 'no-double-encoding' feature of htmlspecialchars() (the length for char search was wrong. this could lead to crashes..)
|
2007-05-27 15:45:18 +00:00 |
|
Nuno Lopes
|
8931a76101
|
make make_digest() output a 16-byte string so that it wont break the internal PHP API (it was breaking the SOAP extension)
|
2007-05-27 15:29:38 +00:00 |
|
foobar
|
8588db4b46
|
- Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c)
|
2007-05-27 14:50:09 +00:00 |
|
Antony Dovgal
|
bac779d6b6
|
check for required func
|
2007-05-27 14:39:21 +00:00 |
|
Antony Dovgal
|
060589090d
|
fix test
|
2007-05-27 14:30:06 +00:00 |
|
Hannes Magnusson
|
df03be1a3b
|
Allow skipping hint_charset (fixes ext/standard/tests/strings/htmlentities18.phpt)
|
2007-05-25 14:09:02 +00:00 |
|
Zoe Slattery
|
eb0f324f70
|
New testcaes for file/strings/general_functions
|
2007-05-25 13:44:23 +00:00 |
|
foobar
|
efcdcd80b6
|
- Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
output. See bug #38762 for more..)
|
2007-05-24 21:40:41 +00:00 |
|
Rasmus Lerdorf
|
2fba3bf13b
|
Uh, only meant to remove the null check, not the assignment
|
2007-05-24 21:29:27 +00:00 |
|
Rasmus Lerdorf
|
61b06f1527
|
Avoid running off the end of a non-null terminated string. Not that we
should have any of those, but a mistake in an extension could hit this
and the check doesn't actually make any sense as far as I am concerned.
|
2007-05-24 20:53:05 +00:00 |
|
Ilia Alshanetsky
|
6f694fab9a
|
Simplify code
|
2007-05-23 15:01:00 +00:00 |
|
Antony Dovgal
|
9a37c5588c
|
fix tests
|
2007-05-22 16:58:33 +00:00 |
|
Antony Dovgal
|
d14d148f66
|
fix test
|
2007-05-22 16:52:58 +00:00 |
|
Raghubansh Kumar
|
17a6ac36da
|
New version of gettype_settype_variation1.phpt gettype_settype_variation6.phpt
gettype_settype_variation2.phpt gettype_settype_variation7.phpt gettype_settype_variation3.phpt gettype_settype_variation8.phpt
gettype_settype_basic.phpt gettype_settype_variation4.phpt
gettype_settype_error.phpt gettype_settype_variation5.phpt
|
2007-05-22 16:01:59 +00:00 |
|
Raghubansh Kumar
|
9f5016ef7b
|
New version of basename_basic.phpt, basename_error.phpt, basename_variation.phpt
|
2007-05-22 15:59:04 +00:00 |
|
Hannes Magnusson
|
13feaf3620
|
Ladies and gentelmens,
I bring you our new documentation editor....
Philip Olson!
|
2007-05-22 15:44:11 +00:00 |
|
Hannes Magnusson
|
cdd37424a8
|
Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities()
|
2007-05-22 15:38:27 +00:00 |
|
Antony Dovgal
|
a69e6e2c79
|
MFH: improve variable name checks
add more tests
|
2007-05-22 14:34:23 +00:00 |
|
Ilia Alshanetsky
|
c98cbb6020
|
[DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
|
2007-05-22 12:37:00 +00:00 |
|
Ilia Alshanetsky
|
b828d1939f
|
Optimized digest generation in md5() and sha1() functions by using code
from ext/hash. This makes the functions 20-50% faster on short strings.
|
2007-05-19 20:30:35 +00:00 |
|
Antony Dovgal
|
6434290092
|
fix test
add separate test for 64bit
|
2007-05-18 20:45:50 +00:00 |
|
Antony Dovgal
|
7e80ad9407
|
fix leak and check for < 0 only of the 5th arg was passed
|
2007-05-18 20:34:13 +00:00 |
|
Antony Dovgal
|
6d41d020df
|
MFH: fix #41430 (Fatal error with negative values of maxlen parameter of file_get_contents())
|
2007-05-18 12:06:44 +00:00 |
|
Antony Dovgal
|
ff514e208e
|
fix tests
|
2007-05-18 11:47:58 +00:00 |
|
Rasmus Lerdorf
|
7e5f0a8380
|
Get rid of a stray time() syscall in tsrm and clean up lcg rinit
|
2007-05-18 11:36:55 +00:00 |
|
Antony Dovgal
|
ffd09c0961
|
fix tests
|
2007-05-18 11:29:55 +00:00 |
|
Rasmus Lerdorf
|
52c2d6c235
|
Get rid of a useless RINIT and an empty RSHUTDOWN on non-Windows
|
2007-05-17 06:38:13 +00:00 |
|
Zoe Slattery
|
8f06575c23
|
Updated range() test
|
2007-05-16 21:07:33 +00:00 |
|
Antony Dovgal
|
e72d044f9f
|
fix tests
|
2007-05-15 14:25:21 +00:00 |
|
Antony Dovgal
|
a640896685
|
fix test
|
2007-05-14 16:18:02 +00:00 |
|
Antony Dovgal
|
725260ea0f
|
fix CS
|
2007-05-14 11:33:34 +00:00 |
|
Antony Dovgal
|
2274c18cc6
|
remove floats, their text representation varies depending on many factors
|
2007-05-14 11:10:30 +00:00 |
|
Antony Dovgal
|
9100e9efde
|
add 64bit tests
|
2007-05-14 11:04:30 +00:00 |
|
Antony Dovgal
|
83df9beca2
|
fix precision
|
2007-05-14 11:04:08 +00:00 |
|
Antony Dovgal
|
b33de5d0aa
|
fix tests - make them 32bit only, 64bit version will be later
add --INI-- section
remove recursive arrays, that thing should be in a separate test
|
2007-05-14 10:57:04 +00:00 |
|
Raghubansh Kumar
|
c5c162d182
|
New version of debug_zval_dump_b.phpt, is_array.phpt, is_null.phpt, is_string.phpt, debug_zval_dump_e.phpt, is_bool.phpt, is_numeric.phpt, print_r.phpt, debug_zval_dump_o.phpt, is_float.phpt is_object.phpt, strval.phpt,
debug_zval_dump_v.phpt, is_int.phpt, is_scalar.phpt, var_dump.phpt
|
2007-05-12 10:28:00 +00:00 |
|
Raghubansh Kumar
|
3a97c49489
|
New version of addcslashes.phpt, md5_file.phpt, str_replace.phpt, substr.phpt, chr_ord.phpt, strpos.phpt, strstr.phpt, trim1.phpt, implode1.phpt, str_repeat.phpt, substr_count.phpt
|
2007-05-12 10:15:02 +00:00 |
|
Raghubansh Kumar
|
42ae6b508e
|
New version of 005.phpt, array_change_key_case.phpt, array_key_exists.phpt, array_keys.phpt, array_map.phpt, array_pop.phpt, array_search.phpt, array_values.phpt, each.phpt, end.phpt, extract.phpt
|
2007-05-12 09:53:30 +00:00 |
|
Raghubansh Kumar
|
02dd014013
|
New version of 009.phpt
|
2007-05-12 09:50:40 +00:00 |
|
Antony Dovgal
|
8de1ecef64
|
MFH: fix segfault in strripos() when offset == INT_MAX+1
identified and repoted by Joxean Koret
|
2007-05-10 22:10:43 +00:00 |
|
Antony Dovgal
|
7efde494d7
|
MFH: flush output buffer when/if highlight_string()/php_strip_whitespace()/highlight_string() fail
|
2007-05-10 16:28:11 +00:00 |
|
Scott MacVicar
|
e7577d57cd
|
Fixed bug #41347 (checkdnsrr() segfaults on empty hostname).
|
2007-05-10 13:16:54 +00:00 |
|
Antony Dovgal
|
c69b76dc52
|
MFH: fix segfault in iptcembed()
|
2007-05-10 12:23:25 +00:00 |
|
Ilia Alshanetsky
|
75b5ce3b8d
|
Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE).
|
2007-05-08 18:38:20 +00:00 |
|
Antony Dovgal
|
3a46e8ab1f
|
fix tests
|
2007-05-07 22:30:16 +00:00 |
|
Antony Dovgal
|
c2c4fe75e1
|
fix test
|
2007-05-07 21:38:42 +00:00 |
|
Antony Dovgal
|
1f65545121
|
fix test names
|
2007-05-07 18:03:01 +00:00 |
|
Hannes Magnusson
|
1d2c53b249
|
Fix test
|
2007-05-06 13:11:31 +00:00 |
|
Dmitry Stogov
|
f409fcd02a
|
Fixed test
|
2007-05-02 07:27:36 +00:00 |
|
Ilia Alshanetsky
|
e0cab44595
|
Remove quotes
|
2007-05-01 00:05:39 +00:00 |
|
foobar
|
1d7d3a4307
|
- Updated credits
|
2007-04-29 00:43:11 +00:00 |
|
Antony Dovgal
|
66859a74de
|
fix tests
|
2007-04-26 23:30:00 +00:00 |
|
Hannes Magnusson
|
5eb0037584
|
MFH: Plug leak when trying to write via the http wrapper
|
2007-04-23 16:37:28 +00:00 |
|
Dmitry Stogov
|
2a689a4267
|
64-bit support
|
2007-04-23 09:56:56 +00:00 |
|
Antony Dovgal
|
d66080d6f0
|
make this test 32bit only
|
2007-04-20 16:14:37 +00:00 |
|
Ilia Alshanetsky
|
c34806e145
|
Fixed bug #41121 (range() overflow handling for large numbers on 32bit
machines).
|
2007-04-19 23:21:22 +00:00 |
|
Andrey Hristov
|
0a9360b16c
|
Update credits
|
2007-04-19 09:46:54 +00:00 |
|
Dmitry Stogov
|
b2785c3d4c
|
Fixed tests (win32)
|
2007-04-18 14:51:29 +00:00 |
|
Rob Richards
|
b6b312c020
|
add file locking under windows
change win build to use common clock compat files
|
2007-04-18 09:38:59 +00:00 |
|
Antony Dovgal
|
16129b7024
|
MFH: fix putenv("var") (i.e. unset) on BSD systems
add test
|
2007-04-17 20:34:14 +00:00 |
|
Antony Dovgal
|
e83f375c2f
|
fix test
|
2007-04-16 08:14:33 +00:00 |
|
Dmitry Stogov
|
e1814f0dbe
|
WIN64 support
|
2007-04-16 08:09:56 +00:00 |
|
Brian Shire
|
e7d68b8373
|
reverting incorrect changes to pack test
# only a problem on darwin, latest gcc-4.2 branch works as expected.
|
2007-04-13 02:15:07 +00:00 |
|
Antony Dovgal
|
5f48fbb4da
|
skip this test on MacOS
|
2007-04-10 21:20:44 +00:00 |
|
Antony Dovgal
|
903155d504
|
fix test name
|
2007-04-10 21:16:56 +00:00 |
|
Antony Dovgal
|
562f886ecb
|
MFH: fix #41037 (unregister_tick_function() inside the tick function crash PHP)
|
2007-04-10 09:37:09 +00:00 |
|
Antony Dovgal
|
c61cbbdc9f
|
fix folding tags
|
2007-04-09 21:19:38 +00:00 |
|
foobar
|
191b843a02
|
Fix test
|
2007-04-09 20:07:25 +00:00 |
|
Dmitry Stogov
|
4de76f02ea
|
Fixed 64-bit support
|
2007-04-09 15:38:58 +00:00 |
|
Antony Dovgal
|
d428314e2d
|
MFB: clean & refactored disk_*() funcs implementation
Ilia, feel free to make these functions public, though I don't see why would want to do that
|
2007-04-06 22:10:56 +00:00 |
|
Antony Dovgal
|
f2f885c023
|
fix test
|
2007-04-06 19:35:12 +00:00 |
|
Brian Shire
|
bd4add59f7
|
correction for previous fix to bug #38770 (pack/unpack is broken on 64bit)
fix pack test, correct space to tabs
|
2007-04-03 19:50:40 +00:00 |
|
Stanislav Malyshev
|
8f0d69159e
|
fix for #33664 Console window appears when using exec()
|
2007-04-02 20:44:30 +00:00 |
|
foobar
|
3da21dc6fc
|
- 64bit test
|
2007-04-02 15:09:37 +00:00 |
|
foobar
|
bb0547029a
|
- Make this 32bit only test. (will add 64bit version next)
|
2007-04-02 15:02:02 +00:00 |
|
foobar
|
2429299507
|
- Changed phpinfo() to make difference between set php.ini path and what was actually loaded.
|
2007-04-02 12:41:07 +00:00 |
|
Ilia Alshanetsky
|
86ca439a5d
|
Fixed MOPB-34-2007:PHP mail() Header Injection Through Subject and To
Parameters
|
2007-03-30 00:28:58 +00:00 |
|
Zoe Slattery
|
c18d3b56e7
|
new ltrim, rtrim and str_pad tests
|
2007-03-28 10:44:04 +00:00 |
|
Zoe Slattery
|
517865fb6e
|
New tests for printf and ucfirst
|
2007-03-28 09:38:30 +00:00 |
|
Zoe Slattery
|
23d64aeaa4
|
Three new string tests for funtions strcasecmp, strcmp and strlen.
|
2007-03-28 09:08:08 +00:00 |
|
Antony Dovgal
|
2c06cea75b
|
MFH: fix compile warning
|
2007-03-27 09:29:10 +00:00 |
|
Antony Dovgal
|
b9bffbe019
|
fix compile warning
|
2007-03-27 09:20:27 +00:00 |
|
Ilia Alshanetsky
|
ae1c5674cb
|
Fixed MOPB-33-2007:PHP mail() Message ASCIIZ Byte Truncation
|
2007-03-27 00:13:09 +00:00 |
|
Antony Dovgal
|
7053b89072
|
MFH: fix #40915 (addcslashes unexpected behavior with binary input)
|
2007-03-26 10:25:41 +00:00 |
|
Nuno Lopes
|
88f48476f9
|
regenerate to fix gcov build. plus use re2c bitvectors
|
2007-03-23 20:28:40 +00:00 |
|
Stanislav Malyshev
|
0af75d6b1a
|
fix MOPB-29 - unserialize modifier S does not calculate length correctly
# reported by Stefan Esser
|
2007-03-23 20:15:22 +00:00 |
|
Wez Furlong
|
16fc958508
|
fixes #40848
|
2007-03-18 20:20:23 +00:00 |
|
Stanislav Malyshev
|
a424d65e0b
|
add test
|
2007-03-16 19:55:21 +00:00 |
|
Stanislav Malyshev
|
90eff54400
|
Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser)
|
2007-03-16 19:38:58 +00:00 |
|
Antony Dovgal
|
81f99c721b
|
return false instead of empty string when -length is greater than (len - offset)
|
2007-03-12 23:42:26 +00:00 |
|
Antony Dovgal
|
165f44c9c3
|
MFH
|
2007-03-12 20:55:15 +00:00 |
|
Ilia Alshanetsky
|
e82c30c845
|
Re-added check removed by the previous patch
|
2007-03-10 20:07:50 +00:00 |
|
Ilia Alshanetsky
|
1453879587
|
Added additional checks for long input arrays inside
import_request_variables().
# Missing checks identified by Stefan Esser
|
2007-03-10 19:20:16 +00:00 |
|
Antony Dovgal
|
982de65f6e
|
fix substr()
it's perfectly legal to do substr("str", 0, 1000000);
|
2007-03-09 10:04:59 +00:00 |
|
Antony Dovgal
|
c9ded196b4
|
fix tests
|
2007-03-09 09:45:14 +00:00 |
|
Ilia Alshanetsky
|
02fae929af
|
Fixed bug #40754 (added substr() & substr_replace() overflow checks).
|
2007-03-09 01:58:34 +00:00 |
|
Ilia Alshanetsky
|
b3b6db3f03
|
Add _SESSION to checklist
|
2007-03-09 01:48:56 +00:00 |
|
Ilia Alshanetsky
|
0fa1427c6e
|
Fixed a possible super-global overwrite inside import_request_variables().
# Reported by Stefano Di Paola
|
2007-03-09 01:42:20 +00:00 |
|
Stanislav Malyshev
|
79195bfe2e
|
clarify checks and error messages
|
2007-03-08 00:47:04 +00:00 |
|
Antony Dovgal
|
af1843f866
|
MFH: fix #40752 (parse_ini_file() segfaults when a scalar setting is redeclared as an array)
|
2007-03-08 00:44:23 +00:00 |
|
Ilia Alshanetsky
|
8696c9bc89
|
Improved length parameter validation
|
2007-03-08 00:18:10 +00:00 |
|
Ilia Alshanetsky
|
42ff70ede8
|
Improved offset validation
|
2007-03-08 00:06:41 +00:00 |
|
Stanislav Malyshev
|
2625be4ed0
|
fix MOPB#14
# The error message seems wrong, so maybe better fix is needed
|
2007-03-07 18:15:46 +00:00 |
|
Ilia Alshanetsky
|
4a614cd6b1
|
malloc() -> pemalloc()
|
2007-03-07 00:52:40 +00:00 |
|
Ilia Alshanetsky
|
1ac71c4fe9
|
Fixed bug #40709 (array_reduce() behaves strange with one item stored
arrays).
|
2007-03-04 17:21:16 +00:00 |
|
Ilia Alshanetsky
|
e769e1b49e
|
Fixed bug #40704 (strip_tags() does not handle single quotes correctly)
|
2007-03-03 15:46:29 +00:00 |
|
Nuno Lopes
|
f1d075a102
|
increase the stream_select() timeout, to make the test pass in a slow machine with valgrind
|
2007-03-02 18:54:13 +00:00 |
|
Ilia Alshanetsky
|
efad70c2cc
|
snprintf() -> slprintf()
|
2007-02-27 03:28:17 +00:00 |
|
Ilia Alshanetsky
|
1d08a8d157
|
Fixed bug #40637 (Regression in strip_tags() in relation so quote handling)
|
2007-02-27 00:15:21 +00:00 |
|
Antony Dovgal
|
e07b611b10
|
fix folding
|
2007-02-26 14:11:34 +00:00 |
|
Antony Dovgal
|
ad8c94d8cc
|
fix
the sprintf() -> zend_spprintf() change affected this
|
2007-02-26 12:08:12 +00:00 |
|
Antony Dovgal
|
666370d7ee
|
add new test
|
2007-02-26 09:58:04 +00:00 |
|
Ilia Alshanetsky
|
58c167168d
|
Revert previous commit that caused a buffer overflow (Bug #40634)
|
2007-02-26 02:12:36 +00:00 |
|
Ilia Alshanetsky
|
27c6f40783
|
Eliminate strncpy() and simplify code
|
2007-02-24 17:18:24 +00:00 |
|
Ilia Alshanetsky
|
34928eeeca
|
strncpy > strlcpy
|
2007-02-24 17:16:23 +00:00 |
|
Ilia Alshanetsky
|
0763686034
|
strdup() can fail
|
2007-02-24 03:24:40 +00:00 |
|
Marcus Boerger
|
50ea26760d
|
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
|
2007-02-24 02:17:47 +00:00 |
|
Antony Dovgal
|
f3a9413b28
|
MFH: fix #40606 (umask is not being restored when request is finished)
|
2007-02-23 16:22:20 +00:00 |
|
Ilia Alshanetsky
|
a471f75354
|
Simplify code by converting emalloc() + sprintf() to spprintf()
|
2007-02-23 00:37:36 +00:00 |
|
Nuno Lopes
|
d94e388d74
|
fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony
|
2007-02-22 11:48:14 +00:00 |
|
Dmitry Stogov
|
f027aef074
|
Fixed possible crash in putenv() on win32
|
2007-02-22 08:23:17 +00:00 |
|
Ilia Alshanetsky
|
609ecbfc37
|
One more strcpy. (Thanks Stas)
|
2007-02-22 00:44:08 +00:00 |
|
Ilia Alshanetsky
|
06e5bc9ea2
|
strcpy() elimination
|
2007-02-22 00:25:38 +00:00 |
|
Antony Dovgal
|
e1fe2c9165
|
MFH
|
2007-02-21 22:08:08 +00:00 |
|
Antony Dovgal
|
26fac39d5e
|
fix test
|
2007-02-21 19:57:15 +00:00 |
|
Nuno Lopes
|
4f3150c350
|
use /usr/bin/nohup instead
|
2007-02-21 16:25:37 +00:00 |
|
Ilia Alshanetsky
|
5ecffe6eb5
|
Use strlcpy() rather then strcpy()
|
2007-02-21 03:59:05 +00:00 |
|
Stanislav Malyshev
|
462d545a63
|
fix putenv - if there was no previous, remove variable from environ
|
2007-02-21 03:03:37 +00:00 |
|
Dmitry Stogov
|
a3493bd3de
|
Optimize out RINIT()
|
2007-02-16 16:35:04 +00:00 |
|
Dmitry Stogov
|
0262f05c17
|
Fixed return value of assert_options(ASSERT_CALLBACK) and possible crash (Andy Wharmby)
|
2007-02-16 13:12:10 +00:00 |
|
Ilia Alshanetsky
|
4a33a63ab6
|
Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump).
|
2007-02-16 03:41:56 +00:00 |
|
Nuno Lopes
|
d446564786
|
Fixed bug #39322 (proc_terminate() destroys process resource)
|
2007-02-14 19:13:31 +00:00 |
|
Ilia Alshanetsky
|
fc49f98e6a
|
Make sure p is not pointing to the start of the buffer
|
2007-02-13 23:55:20 +00:00 |
|
Nuno Lopes
|
9cc85b6030
|
Fixed bug #34794 (proc_close() hangs when used with two processes)
|
2007-02-13 19:53:42 +00:00 |
|
Antony Dovgal
|
dc9e17faf3
|
fix #40455 (proc_open() uses wrong commandline when safe_mode_exec_dir is set)
|
2007-02-13 15:55:45 +00:00 |
|
Antony Dovgal
|
29a9ba9639
|
new/improved tests
|
2007-02-13 12:59:53 +00:00 |
|
Antony Dovgal
|
60c435df5e
|
MFH
|
2007-02-13 12:56:36 +00:00 |
|
Ilia Alshanetsky
|
103b8c33c0
|
Fixed bug #40432 (strip_tags() fails with greater than in attribute).
|
2007-02-13 02:16:22 +00:00 |
|
Antony Dovgal
|
cce7545d18
|
upgrade to new parameter parsing API
+ mostly ws/cs fixes, sort of MFH
|
2007-02-12 20:40:11 +00:00 |
|
Antony Dovgal
|
511463854b
|
MFH: fix #40109 (iptcembed fails on non-jfif jpegs)
|
2007-02-12 20:30:52 +00:00 |
|
Antony Dovgal
|
634615cd42
|
MFH: fix tests
|
2007-02-12 14:49:05 +00:00 |
|
Antony Dovgal
|
796080d8c4
|
MFH: add separate IPv6 test
|
2007-02-12 14:43:00 +00:00 |
|
Antony Dovgal
|
45c0253f2c
|
add test
|
2007-02-11 20:56:46 +00:00 |
|
Antony Dovgal
|
77d93ee6b3
|
fix test
|
2007-02-11 20:06:19 +00:00 |
|
Antony Dovgal
|
7b12fd5492
|
MFH
|
2007-02-10 00:50:38 +00:00 |
|
Marcus Boerger
|
38201d8d12
|
- MFH php --ri <extension>
|
2007-02-08 16:55:34 +00:00 |
|
Marcus Boerger
|
3bd74e422a
|
- MFH Add new test
|
2007-02-08 08:44:51 +00:00 |
|
Antony Dovgal
|
323467f9c9
|
add test
|
2007-02-07 21:13:01 +00:00 |
|
Antony Dovgal
|
c313af32a9
|
MFH
|
2007-02-01 14:21:01 +00:00 |
|
Antony Dovgal
|
0c84a4d927
|
MFH: free class_name when necessary
|
2007-02-01 14:07:43 +00:00 |
|
Antony Dovgal
|
82f70c9493
|
fix leaks on error
|
2007-02-01 13:45:25 +00:00 |
|
Antony Dovgal
|
c98dcd5a21
|
use length - 1 when we fetch it from hashes
|
2007-01-26 15:33:18 +00:00 |
|
Rasmus Lerdorf
|
49dbf804ad
|
Fix typo
|
2007-01-25 06:12:58 +00:00 |
|
Ilia Alshanetsky
|
49c0823800
|
Added safety checks to the code
|
2007-01-25 00:27:19 +00:00 |
|
Ilia Alshanetsky
|
094a5717b1
|
Eliminate strcat() and strcpy()
|
2007-01-25 00:26:51 +00:00 |
|
Ilia Alshanetsky
|
eb6b99d7df
|
strcat() -> strlcat()
|
2007-01-24 00:45:54 +00:00 |
|
Dmitry Stogov
|
933c26de41
|
Fixed bug #39367 (clearstatcache() doesn't clear realpath cache)
Fixed bug #40092 (chroot() doesn't clear realpath cache)
|
2007-01-22 09:31:46 +00:00 |
|
Antony Dovgal
|
eae1072ccc
|
MFH
|
2007-01-22 08:21:57 +00:00 |
|
Antony Dovgal
|
2c36778e47
|
MFH: fix #40191 (use of array_unique() with objects triggers segfault)
|
2007-01-22 08:17:26 +00:00 |
|
Antony Dovgal
|
ebd7c13e8b
|
MFH: fix #40168
|
2007-01-19 14:50:11 +00:00 |
|
Ilia Alshanetsky
|
aeddf73dc4
|
Fix win32 build
|
2007-01-19 00:17:43 +00:00 |
|
Ilia Alshanetsky
|
ef3fcf2894
|
Added read-timeout context option "timeout" for HTTP streams.
# A patch mostly by Hannes
|
2007-01-19 00:02:13 +00:00 |
|
Antony Dovgal
|
84a827e0d4
|
MFH
|
2007-01-18 16:21:32 +00:00 |
|
Antony Dovgal
|
d6a4586197
|
MFH
|
2007-01-17 08:25:32 +00:00 |
|
Antony Dovgal
|
7ad1c3c5f2
|
MFH: add trailing '\0' to stream hashes
|
2007-01-15 17:07:08 +00:00 |
|
Hannes Magnusson
|
a6ff74de28
|
Fix typo in error message
|
2007-01-14 14:22:40 +00:00 |
|
Ilia Alshanetsky
|
f7d1d3ef44
|
Improve validation of argnum, width and precision.
|
2007-01-13 16:31:17 +00:00 |
|
Ilia Alshanetsky
|
25e7373009
|
Use long instead of int where long is expected.
|
2007-01-12 02:03:59 +00:00 |
|
Ilia Alshanetsky
|
2ae036f038
|
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
Adjusted previous fixes for similar issue to handle sysconf() failures
|
2007-01-12 01:46:11 +00:00 |
|
Sara Golemon
|
5e74c607a2
|
MFH
|
2007-01-11 02:33:07 +00:00 |
|
Hannes Magnusson
|
3e0e2bb49d
|
Fix ifdefs
|
2007-01-10 14:40:06 +00:00 |
|
Dmitry Stogov
|
5709b64739
|
Close open files in case of failure (Amit)
|
2007-01-09 16:27:17 +00:00 |
|
Ilia Alshanetsky
|
60e20922eb
|
Use safe_emalloc() rather then emalloc()
|
2007-01-08 14:24:59 +00:00 |
|
Dmitry Stogov
|
f694c1f1db
|
Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE
|
2007-01-06 09:02:02 +00:00 |
|
Hannes Magnusson
|
3f9a4baa31
|
Fix test according to bug#40009
|
2007-01-05 15:22:35 +00:00 |
|
Ilia Alshanetsky
|
7d901eacbe
|
%f -> %F
|
2007-01-05 15:06:55 +00:00 |
|
Ilia Alshanetsky
|
a078b56326
|
Fixed bug #40009 (http_build_query(array()) returns NULL).
|
2007-01-03 23:16:56 +00:00 |
|
Nuno Lopes
|
8a806d186e
|
+- Fixed bug #37619 (proc_open() closes stdin on fork() failure).
|
2007-01-02 15:29:09 +00:00 |
|
Sebastian Bergmann
|
4223aa4d5e
|
MFH: Bump year.
|
2007-01-01 09:36:18 +00:00 |
|
Nuno Lopes
|
169b207532
|
- Fixed bug #36427 (proc_open() / proc_close() leak handles on windows).
|
2006-12-31 15:27:13 +00:00 |
|
Nuno Lopes
|
877ee65622
|
Fixed bug #38542 (proc_get_status() returns wrong PID on windows)
|
2006-12-31 14:47:17 +00:00 |
|
Ilia Alshanetsky
|
78d8808f42
|
Mark test as being 32bit only
|
2006-12-30 02:00:51 +00:00 |
|
Ilia Alshanetsky
|
b154f188d1
|
Simplify code and eliminate strcat() usage
|
2006-12-28 15:09:29 +00:00 |
|
Antony Dovgal
|
fdfa403388
|
MFH
|
2006-12-28 14:17:38 +00:00 |
|
Nuno Lopes
|
54f3ff34b7
|
oops: remove uneeded code in the skip condition
|
2006-12-27 15:17:04 +00:00 |
|
Nuno Lopes
|
d07a46ebab
|
add fr_FR@euro to the setlocale list
|
2006-12-27 15:11:35 +00:00 |
|
Ilia Alshanetsky
|
dc5be15a6f
|
is_numeric_string() optimization
|
2006-12-26 16:45:39 +00:00 |
|
Ilia Alshanetsky
|
52d53543ac
|
Allocation safety checks
|
2006-12-25 22:36:57 +00:00 |
|
Antony Dovgal
|
6ac8ffdfea
|
MFH
|
2006-12-25 22:12:46 +00:00 |
|
Ilia Alshanetsky
|
7efb0a14f4
|
Use safe_emalloc()
|
2006-12-25 21:41:04 +00:00 |
|
Ilia Alshanetsky
|
652c7096b2
|
Fixed test for 64bit systems
|
2006-12-25 21:07:53 +00:00 |
|
Ilia Alshanetsky
|
0776e56437
|
Use %F (ignores locale) for internal representation of floats
|
2006-12-25 16:48:18 +00:00 |
|
Antony Dovgal
|
c52bc49f50
|
fix test
|
2006-12-25 14:27:51 +00:00 |
|
Antony Dovgal
|
04d4811532
|
MFH
|
2006-12-25 11:50:31 +00:00 |
|
Antony Dovgal
|
6e8a7d7b20
|
fix tests
|
2006-12-25 11:16:23 +00:00 |
|
Ilia Alshanetsky
|
f40ebf4171
|
Fixed bug #36392 (wrong number of decimal digits with %e specifier in
sprintf).
|
2006-12-22 15:29:41 +00:00 |
|
Ilia Alshanetsky
|
fd8f758ecd
|
Fixed bug #39873 (number_format() breaks with locale & decimal points).
|
2006-12-22 04:03:15 +00:00 |
|
Antony Dovgal
|
8854c3d51a
|
MFH
|
2006-12-21 21:37:45 +00:00 |
|
Antony Dovgal
|
6aec52bde7
|
MFH
|
2006-12-21 01:18:28 +00:00 |
|
Antony Dovgal
|
0abe62e027
|
MFH
|
2006-12-20 23:36:56 +00:00 |
|
Antony Dovgal
|
a0e2ccf490
|
MFH
|
2006-12-20 23:30:30 +00:00 |
|
Dmitry Stogov
|
53b088e60c
|
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.
|
2006-12-20 10:49:33 +00:00 |
|
Hannes Magnusson
|
1e19ee8785
|
- Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
|
2006-12-20 10:34:36 +00:00 |
|
Dmitry Stogov
|
5d8183f0b2
|
Support for systems without locale.h
|
2006-12-19 13:13:29 +00:00 |
|
Antony Dovgal
|
0ecaeb89d3
|
serialize() should use '.' as decimal point irrespectively to locale
|
2006-12-19 12:36:44 +00:00 |
|
Dmitry Stogov
|
c43fc2afc8
|
Fixed bug #39815 (SOAP double encoding is not locale-independent)
|
2006-12-19 11:54:38 +00:00 |
|
Hannes Magnusson
|
b12e3e1475
|
Fix tests
|
2006-12-19 10:03:24 +00:00 |
|
Dmitry Stogov
|
03312cc0d9
|
Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection
|
2006-12-19 08:58:58 +00:00 |
|
Ilia Alshanetsky
|
090e14dfda
|
Less hackish support for spaces at the start of tags within strip_tags()
|
2006-12-18 15:02:16 +00:00 |
|
Antony Dovgal
|
a726dcaa99
|
MFH: fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong")
|
2006-12-18 14:56:20 +00:00 |
|
Antony Dovgal
|
5fc3e649b6
|
MFH
|
2006-12-18 11:12:55 +00:00 |
|
Antony Dovgal
|
5e8eecb362
|
remove the comment, it's not valid anymore
|
2006-12-18 10:19:52 +00:00 |
|
Hannes Magnusson
|
9ef3575c25
|
MFH:
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
|
2006-12-18 09:26:54 +00:00 |
|
Ilia Alshanetsky
|
7d7248390c
|
Filter fixes:
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
|
2006-12-18 04:22:05 +00:00 |
|
Brian Shire
|
5bf3df531f
|
Fixed bug #30074
extract with EXTR_REFS was setting EG(unitialized_zval_ptr)->is_ref=1, affecting subsequent usage
Added test
|
2006-12-17 20:09:48 +00:00 |
|
Andrei Zmievski
|
8f5310afad
|
Support for 'S' format in unserialize() (forward compatibility with PHP
6)
|
2006-12-15 00:58:08 +00:00 |
|
Ilia Alshanetsky
|
563221783a
|
Removed deadcode found by Ron Korving
|
2006-12-13 15:39:12 +00:00 |
|
Ilia Alshanetsky
|
a055e93a27
|
optimize out strlen() calls
# Patch by Matt Wilmas
|
2006-12-13 15:31:47 +00:00 |
|
Antony Dovgal
|
dc64595467
|
MFH
|
2006-12-12 12:11:51 +00:00 |
|
Antony Dovgal
|
24b312f8d5
|
MFH: missing part of the fix for #39795
|
2006-12-12 12:06:37 +00:00 |
|
Antony Dovgal
|
a74c36a335
|
MFH: fix #39795 (build fails on AIX because crypt_r() uses different data struct)
|
2006-12-12 07:38:04 +00:00 |
|
Ilia Alshanetsky
|
e64cb1ae4d
|
Optimize extract()
# Patch by Brian Shire
|
2006-12-10 19:43:03 +00:00 |
|
Edin Kadribasic
|
42e1c9a1e0
|
Fixed by #39751 by KevinJohnHoffman at gmail dot com
|
2006-12-10 01:23:41 +00:00 |
|
Hannes Magnusson
|
d9f03aac34
|
MFH: sys_get_temp_dir()
|
2006-12-09 18:00:52 +00:00 |
|
Ilia Alshanetsky
|
0236a7eaf4
|
Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir
setting).
|
2006-12-09 16:01:29 +00:00 |
|
Antony Dovgal
|
7df81307c1
|
MFH
|
2006-12-08 21:18:43 +00:00 |
|
Antony Dovgal
|
f71a310543
|
MFH: fix possible issue in the serializer, which might currupt struc when reallocating arguments stack
|
2006-12-08 20:59:31 +00:00 |
|
Antony Dovgal
|
1edf208421
|
add new tests by <zoe dot slattery at googlemail dot co dot uk>
|
2006-12-08 14:39:25 +00:00 |
|
Antony Dovgal
|
feba2edba2
|
initialize variables
|
2006-12-07 20:45:58 +00:00 |
|
Antony Dovgal
|
60f3797200
|
MFH
|
2006-12-06 16:28:36 +00:00 |
|
Antony Dovgal
|
da53237f41
|
MFH: add missing 'F' modified (noticed by Matt)
|
2006-12-06 14:47:36 +00:00 |
|
Antony Dovgal
|
4d44a5b71d
|
MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
|
2006-12-06 09:52:51 +00:00 |
|
Antony Dovgal
|
9ce985bbae
|
cosmetic improvements
|
2006-12-05 23:03:19 +00:00 |
|
Antony Dovgal
|
5e7eed6a9a
|
MFH: nuke redundant zval_ptr_dtor() call
|
2006-12-05 18:42:38 +00:00 |
|
Stanislav Malyshev
|
6b651f8e60
|
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
# Gives 10-18% speedup on bench.php
# Does not change behaviour for non-windows
|
2006-12-04 18:37:15 +00:00 |
|
Ilia Alshanetsky
|
7999c9d251
|
Fixed bug #39718 (possible crash if assert.callback is set in ini).
|
2006-12-03 17:13:11 +00:00 |
|
Antony Dovgal
|
065be7056d
|
MFH: fix AIX build
|
2006-12-03 13:46:37 +00:00 |
|
Ilia Alshanetsky
|
891bd7888f
|
Use reantrant crypt_r() whenever possible.
|
2006-11-30 15:59:53 +00:00 |
|
Ilia Alshanetsky
|
466d9ba00a
|
Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are
not thread safe).
|
2006-11-29 23:34:49 +00:00 |
|
Antony Dovgal
|
60bb494607
|
MFH: fix #39673 (file_get_contents causes bus error on certain offsets)
|
2006-11-29 11:12:59 +00:00 |
|
Antony Dovgal
|
aaf120127e
|
add php_unescape_html_entities() proto to the header
(fixes #39665)
|
2006-11-28 20:41:07 +00:00 |
|
Ilia Alshanetsky
|
e6a3431315
|
Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic).
|
2006-11-26 17:02:13 +00:00 |
|
Ilia Alshanetsky
|
22ff526e99
|
Added a meta tag to phpinfo() output to prevent search engines from
indexing the page.
|
2006-11-26 16:26:18 +00:00 |
|
Antony Dovgal
|
93fc85b2af
|
MFH: fix #39621 (str_replace() is not binary safe on strings with equal length)
|
2006-11-24 21:59:09 +00:00 |
|
Nuno Lopes
|
e8384cbcca
|
more tests
|
2006-11-24 20:18:54 +00:00 |
|
Pierre Joye
|
efa9b7e20b
|
- MFH: #39538, fgetcsv can't handle starting newlines and trailing odd
number of backslashes (David Soria Parra, Pierre)
|
2006-11-22 12:59:49 +00:00 |
|
Antony Dovgal
|
df1a1c8441
|
MFH: fix #39576 (array_walk() doesn't separate userdata zval)
|
2006-11-22 10:42:41 +00:00 |
|
Antony Dovgal
|
26ed531c64
|
add test
|
2006-11-21 18:17:11 +00:00 |
|
Antony Dovgal
|
e412981f7b
|
remove redundant error message
add test by <zoe dot slattery at googlemail dot com>
|
2006-11-21 17:42:11 +00:00 |
|
Antony Dovgal
|
c220da74ef
|
MFH test
|
2006-11-20 20:55:51 +00:00 |
|
Antony Dovgal
|
39ad6abbf8
|
fix test on Solaris
|
2006-11-20 16:28:26 +00:00 |
|
Antony Dovgal
|
296e2a3775
|
MFH
|
2006-11-20 11:12:42 +00:00 |
|
Ilia Alshanetsky
|
714abb7ea1
|
pack()/unpack() tests
|
2006-11-19 18:31:07 +00:00 |
|
Ilia Alshanetsky
|
0d338f463c
|
Fixed bug #38770 (unpack() broken with longs on 64 bit machines).
|
2006-11-19 18:20:48 +00:00 |
|
Antony Dovgal
|
cf04587553
|
fix tests
|
2006-11-16 13:49:20 +00:00 |
|
Antony Dovgal
|
36d66521c9
|
add new tests
|
2006-11-16 13:01:23 +00:00 |
|
Antony Dovgal
|
d1acb8d4eb
|
add new tests, improve existing ones
|
2006-11-15 22:44:29 +00:00 |
|
Antony Dovgal
|
eca1911b72
|
fix leak, add test
|
2006-11-15 22:10:19 +00:00 |
|
Antony Dovgal
|
9d6f7755b8
|
fix leak appearing when converting object to NULL
add test
|
2006-11-15 17:29:08 +00:00 |
|
Antony Dovgal
|
84ff4aaf1a
|
add new tests
|
2006-11-15 17:27:03 +00:00 |
|
Antony Dovgal
|
70288ef71e
|
fix test on AIX
|
2006-11-15 12:11:17 +00:00 |
|
Antony Dovgal
|
567aed8316
|
fix test
|
2006-11-15 11:27:26 +00:00 |
|
Antony Dovgal
|
60188ad863
|
fix test
|
2006-11-15 10:47:26 +00:00 |
|
Hannes Magnusson
|
849a7857ac
|
Fix test (file_put_contents() now uses __toString)
|
2006-11-15 07:58:02 +00:00 |
|
Ilia Alshanetsky
|
fca0e24410
|
Added missing object support to file_put_contents().
|
2006-11-15 00:20:40 +00:00 |
|
Antony Dovgal
|
6640a1c861
|
one more test
|
2006-11-14 22:23:45 +00:00 |
|
Antony Dovgal
|
963b1db67f
|
add new tests
|
2006-11-14 21:59:57 +00:00 |
|
Derick Rethans
|
de50222d1c
|
- MFH: No idea if we actually support 16 bit systems, but this just looked wrong
|
2006-11-14 14:42:42 +00:00 |
|
Antony Dovgal
|
923b785fd1
|
add new test
|
2006-11-13 21:27:48 +00:00 |
|
Antony Dovgal
|
017f3ae479
|
don't forget to close the stream when/if flock() fails
|
2006-11-13 20:31:27 +00:00 |
|
Antony Dovgal
|
34db368fe4
|
MFH: fix leaks in get_meta_tags() when used with b0rked HTML
add test
|
2006-11-13 20:18:12 +00:00 |
|
Ilia Alshanetsky
|
d4a64fba74
|
removed bogus char
|
2006-11-12 17:23:01 +00:00 |
|
Ilia Alshanetsky
|
e0d385a328
|
Optimized array functions utilizing php_splice().
|
2006-11-12 17:13:22 +00:00 |
|
Hannes Magnusson
|
7b81e554ae
|
MFH: Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
|
2006-11-12 01:14:39 +00:00 |
|
Dmitry Stogov
|
532b02cd19
|
Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic.
|
2006-11-10 11:42:07 +00:00 |
|
Dmitry Stogov
|
a930751112
|
Faster and better licensed implementation
|
2006-11-10 10:10:38 +00:00 |
|
Ilia Alshanetsky
|
126be8ec7c
|
Added missing API declarations.
|
2006-11-10 01:28:59 +00:00 |
|
Ilia Alshanetsky
|
ddae41877f
|
Added missing PHPAPI declaration
|
2006-11-09 20:01:41 +00:00 |
|
Dmitry Stogov
|
25f01e8ec3
|
Fixed tests
|
2006-11-09 08:29:18 +00:00 |
|
Ilia Alshanetsky
|
d6b3b73490
|
Fixed tests
|
2006-11-07 20:24:38 +00:00 |
|
Ilia Alshanetsky
|
07cdfefdee
|
Fixed bug #39350 (crash with implode("\n", array(false))).
|
2006-11-06 17:21:05 +00:00 |
|
Dmitry Stogov
|
82f89748a4
|
Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().
|
2006-11-06 14:54:52 +00:00 |
|
Rasmus Lerdorf
|
cea64d52fa
|
data: and php:stdin/input allow_url_include checks
|
2006-11-05 20:08:58 +00:00 |
|
Hannes Magnusson
|
b11b08e987
|
MFH: fix parameter parsing in getrusage()
|
2006-11-03 15:48:39 +00:00 |
|
Hannes Magnusson
|
050f94f746
|
MFH: Fix double "wron param count" messages
|
2006-11-03 14:46:48 +00:00 |
|
Hannes Magnusson
|
4f4e724b1b
|
MFH: Remove SKIPIF
|
2006-11-03 14:17:40 +00:00 |
|
Ilia Alshanetsky
|
bd2ab7bc15
|
Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr).
|
2006-11-03 13:34:19 +00:00 |
|
Ilia Alshanetsky
|
3a533934c7
|
Added missing boundary checks.
|
2006-11-01 01:55:11 +00:00 |
|
Antony Dovgal
|
0cf7b1012f
|
add new test by Pierre
|
2006-10-19 12:07:07 +00:00 |
|
Antony Dovgal
|
0ebfbfe791
|
MFH: initialize optional vars
|
2006-10-16 19:27:57 +00:00 |
|