Antony Dovgal
03b68981f9
prevent potential leak on error
2006-12-21 00:43:00 +00:00
Antony Dovgal
e5e9865197
bail out if zend_unicode_to_string() fails
2006-12-21 00:25:58 +00:00
Antony Dovgal
53f30a15aa
make sure err_char is initialized properly
2006-12-21 00:25:16 +00:00
Antony Dovgal
0bf0c3c75a
fix double free
2006-12-21 00:00:11 +00:00
Antony Dovgal
d0e2e6dfe2
fix potential leak, improve length checks
2006-12-20 23:36:43 +00:00
Marcus Boerger
ba2f82f2eb
- Quick hackto make tests pass
...
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?
2006-12-20 23:30:23 +00:00
Antony Dovgal
ddd8d7f3ef
do not allocate the return value if it wasn't requested
2006-12-20 23:30:11 +00:00
Antony Dovgal
120275b00e
fix possible leak on failure in get_defined_functions()
2006-12-20 23:19:44 +00:00
Antony Dovgal
722ad46c38
fix leak in zend_disable_class()
2006-12-20 23:00:54 +00:00
Antony Dovgal
2073b38b0f
fix double free on error
2006-12-20 22:42:59 +00:00
Marcus Boerger
09bee96044
- More unicode
2006-12-20 22:11:14 +00:00
Marcus Boerger
14a81a2974
- Add unicode expectations
2006-12-20 22:08:51 +00:00
Marcus Boerger
8fb4a771bc
- Fix test name
2006-12-20 22:08:35 +00:00
Andrei Zmievski
d0d1719f4a
Update.
2006-12-20 21:02:11 +00:00
Marcus Boerger
71a73834f4
- Make shorter and do not use problematic attribute
2006-12-20 20:59:18 +00:00
Marcus Boerger
2f7e1b8ef3
- Compilers mightnot like the zstr return,thus return void*
2006-12-20 20:49:01 +00:00
Andrei Zmievski
781517eee9
Unicode support in get_browser(). To avoid additional copying/conversion
...
during parsing, the browscap values in the returned array will be of
IS_STRING type.
2006-12-20 20:45:40 +00:00
Andrei Zmievski
de0f972b2b
Check for conversion failure in "s&" and return appropriately.
2006-12-20 20:43:52 +00:00
Andrei Zmievski
a98fa516e0
Fix return value in zval_unicode_to_string_ex().
2006-12-20 20:43:31 +00:00
Andrei Zmievski
57e7e4921f
Fix warning.
2006-12-20 20:42:50 +00:00
Marcus Boerger
d3056895b6
- Mention zend_zstrndup()
2006-12-20 20:17:45 +00:00
Marcus Boerger
89496ce1e6
- Implement zend_zstrndup()
2006-12-20 20:12:11 +00:00
Ilia Alshanetsky
646de57e0f
Fixed zts build
2006-12-20 19:48:32 +00:00
Antony Dovgal
abac61eec7
remove register_globals remains
...
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace
2006-12-20 19:20:59 +00:00
Ilia Alshanetsky
29f37953f9
MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).
2006-12-20 19:20:22 +00:00
Antony Dovgal
fa2889fbb1
return NULL right away if invalid length was passed
2006-12-20 19:08:23 +00:00
Andrei Zmievski
4d90ff003c
Align Unicode and binary versions of formatted printing.
2006-12-20 18:33:27 +00:00
Antony Dovgal
7d1e0e7f30
fix #39903 (Notice message when executing __halt_compiler() more than once)
2006-12-20 16:30:00 +00:00
Antony Dovgal
c2cc8bae75
don't reinvent the wheel, use sprintf()
2006-12-20 15:12:06 +00:00
Derick Rethans
481d3436bb
- Fixed the regexp so that the letter "v" also works.
2006-12-20 14:37:24 +00:00
Antony Dovgal
6fe75a0ae0
gracefully bail out on invalid header
2006-12-20 13:08:54 +00:00
Dmitry Stogov
a7c536fbcd
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
...
ny 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:50:46 +00:00
Hannes Magnusson
460360ae53
MFB:
...
- 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:38:24 +00:00
4006f00219
ChangeLog update
2006-12-20 01:31:04 +00:00
Andrei Zmievski
b94785e86b
Unicode support in ezmlm_hash().
...
# 50% done, ladies and gents! http://www.php.net/~scoates/unicode
2006-12-19 22:54:24 +00:00
Marcus Boerger
39898f9f9d
- Use new 'x' parameter parsing
2006-12-19 22:31:26 +00:00
Marcus Boerger
362b986352
- Make spl_autoload_call() unicode safe
2006-12-19 22:30:59 +00:00
Marcus Boerger
dcc6a0e511
- Changed macro once again
2006-12-19 22:27:15 +00:00
Marcus Boerger
c7b33fc364
- x was added toparameter parsing api
2006-12-19 22:24:28 +00:00
Marcus Boerger
da3d27dc4e
- Implement parameter parsing 'x'
2006-12-19 22:21:18 +00:00
Marcus Boerger
745b01794f
- Fix macro param order
2006-12-19 22:20:16 +00:00
Marcus Boerger
0caec1601a
- Implement zend_u_call_method to deal with situations where the function
...
name type is already known
2006-12-19 22:14:35 +00:00
Andrei Zmievski
caa6247e01
Unicode support in set_include_path().
2006-12-19 22:01:50 +00:00
Nuno Lopes
71cf54dc4c
new test
2006-12-19 21:47:16 +00:00
Michael Wallner
88cd3100c7
- check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks
2006-12-19 21:41:12 +00:00
Antony Dovgal
7565c841c8
MFB
2006-12-19 21:40:59 +00:00
Andrei Zmievski
6c3c0c2cc6
Update.
2006-12-19 21:40:02 +00:00
Andrei Zmievski
e722dce575
- Marcus was too quick. Let's put type before zstr in the macros.
...
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00
Marcus Boerger
98dce57dd5
- Fix ZVAL_ZSTRL
2006-12-19 21:13:21 +00:00
Antony Dovgal
a38ccf3969
add check for setlocale() and sv_SE to SKIPIF section
2006-12-19 20:46:48 +00:00