Commit Graph

36782 Commits

Author SHA1 Message Date
Rob Richards
867b39d111 MFB: fix issues identitified by coverity 2006-12-21 12:52:12 +00:00
Antony Dovgal
955e71c985 new tests by Christopher Jones 2006-12-21 12:41:03 +00:00
Antony Dovgal
bfed0b6d94 fix possible leak 2006-12-21 11:07:41 +00:00
Dmitry Stogov
d7b7678817 Default memory_limit value is set to 128M 2006-12-21 09:12:59 +00:00
Dmitry Stogov
5db2a12cf8 emoved dependency from SHELL32.DLL 2006-12-21 09:04:58 +00:00
Ilia Alshanetsky
68181b4430 MFB: Fix a possible memory leak 2006-12-21 02:11:12 +00:00
Ilia Alshanetsky
113686caa4 MFB: Fixed possible memory leak 2006-12-21 01:58:46 +00:00
ee24e243f5 ChangeLog update 2006-12-21 01:31:02 +00:00
Antony Dovgal
b07ab323ad apply correct fix (aka "oops!") 2006-12-21 01:18:14 +00:00
Ilia Alshanetsky
5da2c7a6df MFB: Optimize out zend_hash_num_elements() call 2006-12-21 01:16:36 +00:00
Antony Dovgal
e2b3141df2 fix leak on error 2006-12-21 01:13:50 +00:00
Antony Dovgal
7a6b75e8ac don't leak on error 2006-12-21 01:07:52 +00:00
Antony Dovgal
cbadf38682 fix possible leaks 2006-12-21 01:00:39 +00:00
Antony Dovgal
50791bce76 fix potential leak 2006-12-21 00:46:51 +00:00
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