Commit Graph

5948 Commits

Author SHA1 Message Date
e0112970bd ChangeLog update 2007-03-24 01:31:10 +00:00
Stanislav Malyshev
50312ac474 fix comment 2007-03-23 17:39:19 +00:00
Dmitry Stogov
a26ddf2573 Fixed bug #40899 (memory leak when nesting list()) 2007-03-23 12:46:38 +00:00
Dmitry Stogov
23fc1f0e42 Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony) 2007-03-23 07:59:54 +00:00
f9fcda00af ChangeLog update 2007-03-21 01:31:11 +00:00
Dmitry Stogov
3e7c4195e3 Improved Zend Memory Manager to guarantee reasonable time for worst cases of best-fit free block searching algorithm. 2007-03-20 06:47:12 +00:00
648b67ce92 ChangeLog update 2007-03-20 01:31:05 +00:00
Antony Dovgal
3786394e29 add folding tags 2007-03-19 23:57:49 +00:00
Dmitry Stogov
6e96aba15b Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()). 2007-03-19 18:36:49 +00:00
0069a2cd2e ChangeLog update 2007-03-16 01:31:11 +00:00
Antony Dovgal
98c6f184b2 new test 2007-03-15 16:43:01 +00:00
Antony Dovgal
99def5cac2 reset the exception if it's still NULL 2007-03-15 16:42:51 +00:00
677bdadcdc ChangeLog update 2007-03-15 01:31:11 +00:00
Antony Dovgal
e23af20804 fix #40800 (cannot disable memory_limit with -1) 2007-03-14 11:57:16 +00:00
e56edb3a03 ChangeLog update 2007-03-13 01:31:12 +00:00
Dmitry Stogov
5a4f3bcd37 Fixed bug #40770 (Apache child exits when PHP memory limit reached) 2007-03-12 17:00:07 +00:00
Antony Dovgal
43c8316d2d fix #40784 (Case sensivity in constructor's fallback) 2007-03-12 13:07:39 +00:00
50489f7682 ChangeLog update 2007-03-09 01:31:03 +00:00
Stanislav Malyshev
d3b90533fc MFB: fix crash on $x['x']['y'] += 1, patch by Brian Shire 2007-03-08 21:06:54 +00:00
Stanislav Malyshev
6bfcb2bdbd MFB test 2007-03-08 21:05:17 +00:00
Marcus Boerger
80c2f1f92c - Improved version of ternary shortcut 2007-03-08 17:30:28 +00:00
2e0903fe19 ChangeLog update 2007-03-08 01:31:10 +00:00
0c96c5035a ChangeLog update 2007-03-07 01:31:05 +00:00
Antony Dovgal
a298ef786a comment out unused function
need to figure out why and what for it has been added in the first place..
2007-03-06 21:07:52 +00:00
Antony Dovgal
def247344d declare zend_mm_random() only when needed 2007-03-06 20:58:40 +00:00
Antony Dovgal
37797ff7bf fix tests 2007-03-06 19:25:46 +00:00
3012291178 ChangeLog update 2007-03-05 01:31:05 +00:00
Marcus Boerger
b24f840411 - Implement '?:'
[DOC] "expr1 ?: expr1" is a shortcut for: "expr1 ? expr1 : expr2" as
      exists in gcc and discussed some time back. Note that this is not
      an implementation ifsetor($var, default). While ifsetor would not
      generate any message for non existing variables or array indices
      the ternary shortcut does. Also the ternary shortcut does a boolean
      evaluation rather then checking for isset(). That way ther ternary
      shortcut can work on any expression while ifsetor can only work on
      variables. Also to be silent one has do do: "@$expr1 ?: $expr2".
2007-03-04 16:25:57 +00:00
2659e8b96b ChangeLog update 2007-03-04 01:31:04 +00:00
Marcus Boerger
6b4a1666a0 - Catch empty class name error earlier 2007-03-03 13:46:19 +00:00
9afa8734a6 ChangeLog update 2007-02-27 01:31:12 +00:00
Antony Dovgal
6f3ddae770 nuke dead code 2007-02-26 21:53:48 +00:00
Antony Dovgal
8acf0fda22 MFB: use zend_spprintf() 2007-02-26 11:43:28 +00:00
2c2c548ce1 ChangeLog update 2007-02-26 01:31:05 +00:00
Dmitry Stogov
64dcd4af81 Fixed bug #40591 (list()="string"; gives invalid opcode) 2007-02-25 16:12:18 +00:00
c1f3732aab ChangeLog update 2007-02-25 01:31:08 +00:00
Antony Dovgal
09f196f4b6 fix #40621 (Crash when constructor called inappropriately (statically)) 2007-02-24 21:29:22 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
06cdbd0113 ChangeLog update 2007-02-22 01:31:01 +00:00
Dmitry Stogov
96511b3523 Special case for last iteration 2007-02-21 14:11:12 +00:00
4bb3b68b8a ChangeLog update 2007-02-21 01:31:03 +00:00
Antony Dovgal
0ea9b84302 fix #40545 (multithreading issue in zend_strtod()) 2007-02-20 12:00:41 +00:00
69c95f67cf ChangeLog update 2007-02-20 01:31:05 +00:00
Antony Dovgal
d315853532 fix heap protection on SPARC, required by GCC4
patch by Dmitry
2007-02-19 18:29:20 +00:00
Antony Dovgal
876e8f2dae fix test
stdout is closed in non-debug mode
2007-02-19 12:19:33 +00:00
2f1a7054c5 ChangeLog update 2007-02-17 01:31:03 +00:00
Antony Dovgal
e10a7a734e typo in Dmitry's last name =) 2007-02-16 23:49:34 +00:00
Dmitry Stogov
d7df9badf6 Added runtime JIT auto-globals fetching and caching 2007-02-16 19:36:45 +00:00
Antony Dovgal
2099208dc8 fix build 2007-02-16 18:23:53 +00:00
Stanislav Malyshev
aa827cf2b9 add safe_realloc 2007-02-16 18:12:34 +00:00
Dmitry Stogov
a909db6d9c Allow C++ extensions to use CG(), EG() ... (Caroline) 2007-02-16 08:54:45 +00:00
Dmitry Stogov
a6fa18ac7d Fixed zend_llist_remove_tail (Michael Wallner) 2007-02-16 08:33:52 +00:00
d37f52174f ChangeLog update 2007-02-16 01:31:09 +00:00
Dmitry Stogov
cb5ae2b82c Fixed bug #40236 (php -a function allocation eats memory) 2007-02-15 10:42:52 +00:00
c345929860 ChangeLog update 2007-02-14 01:31:07 +00:00
Antony Dovgal
c212923e29 new/improved tests 2007-02-13 13:01:18 +00:00
7e36477e77 ChangeLog update 2007-02-09 01:31:10 +00:00
Marcus Boerger
bd7d5b527c - No reason not to pass return_value_ptr for non return-by-reference functions 2007-02-08 14:47:32 +00:00
Marcus Boerger
10f0e0a5fa - Fix potential issue with 'f'-parameter parsing
- Complete zend_fcall_info_*() API
2007-02-08 14:33:16 +00:00
Marcus Boerger
f709c26072 - Do not set is_ref/refcount for functions that return by reference 2007-02-08 12:30:40 +00:00
Marcus Boerger
70777b7df6 - More ZEND_API's 2007-02-08 12:29:57 +00:00
619c729ea8 ChangeLog update 2007-02-03 01:31:11 +00:00
Andrei Zmievski
696e85f062 Typos. 2007-02-02 22:18:55 +00:00
Andrei Zmievski
135c947f8d - Add ^ specifier that returns original string type before conversion.
- Add ZVAL_ENC_STRING[L] macro that allows returning either a binary
  string or an encoded strings as Unicode based on type, instead of
  UG(unicode)
2007-02-02 21:49:38 +00:00
Antony Dovgal
535e38a473 add new tests 2007-02-02 12:53:54 +00:00
Antony Dovgal
92bf7d9872 -exactly 1 arguments
+exactly 1 argument
2007-02-02 12:51:37 +00:00
Antony Dovgal
afe43f7794 add new tests 2007-02-02 11:10:42 +00:00
Antony Dovgal
ffa0edaee1 fix tests 2007-02-02 10:55:23 +00:00
Antony Dovgal
427f94a5d4 fix isset() & unset() with CV-superglobals
see #40311
2007-02-02 09:24:13 +00:00
85de060da2 ChangeLog update 2007-02-02 01:31:04 +00:00
Dmitry Stogov
f994b102c7 Removed dead code 2007-02-01 16:38:15 +00:00
Dmitry Stogov
5a695e9f32 Fixed possible crash because of dereference of NULL 2007-02-01 15:24:10 +00:00
Dmitry Stogov
09de519e79 Enable canary protection in DEBUG mode only. 2007-02-01 15:12:07 +00:00
78db3ccc1c ChangeLog update 2007-01-30 01:31:01 +00:00
Ilia Alshanetsky
ce8285d289 Copyright update 2007-01-29 04:40:46 +00:00
0a1bb1064f ChangeLog update 2007-01-23 01:31:13 +00:00
Antony Dovgal
e196cfe7db fix test
array_unique() is not expected to modify its argument
2007-01-22 08:55:39 +00:00
64e7508aaa ChangeLog update 2007-01-22 01:31:08 +00:00
62ee72b42b ChangeLog update 2007-01-21 01:31:09 +00:00
Antony Dovgal
4c6ee6f1d9 catch overflow right away 2007-01-20 23:09:42 +00:00
Sara Golemon
57da96bb42 Resolve autoglobals as global-fetch CVs when possible 2007-01-20 20:36:55 +00:00
b4693e4bee ChangeLog update 2007-01-20 01:31:05 +00:00
Marcus Boerger
06af520df7 - Add Z_OBJDEBUG[_P[P]] helper macros 2007-01-19 22:19:08 +00:00
0dcfb9c769 ChangeLog update 2007-01-19 01:31:01 +00:00
Marcus Boerger
13da6bf4d7 - Add debug_info helper to overloadedobjects 2007-01-18 23:23:13 +00:00
Antony Dovgal
93ecf75a1f fix folding, mark functions as unicode safe 2007-01-18 12:13:05 +00:00
583d976691 ChangeLog update 2007-01-16 01:31:06 +00:00
Antony Dovgal
54cc687609 fix test 2007-01-15 10:31:04 +00:00
Dmitry Stogov
e5ea244b36 Fixed bug #39969 (ini setting short_open_tag has no effect when using --enable-maintainer-zts) 2007-01-12 14:38:07 +00:00
2db8020bcb ChangeLog update 2007-01-12 01:31:05 +00:00
Marcus Boerger
aa4cd53b7b - Consistency: macros shall be uppercased (as requested by Andrei) 2007-01-11 22:55:33 +00:00
Marcus Boerger
cbcda92dc5 - MFB Missing part of __toString() support 2007-01-11 22:35:36 +00:00
Marcus Boerger
6a6d9da6ea - Add zstrlen() helper 2007-01-11 21:32:57 +00:00
Dmitry Stogov
c849a54b02 Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss) 2007-01-11 16:47:46 +00:00
8713544381 ChangeLog update 2007-01-11 01:31:01 +00:00
Andrei Zmievski
1037e06dc8 Remove const warnings. (Andrey) 2007-01-10 16:47:41 +00:00
Dmitry Stogov
f6387758c6 - Fixed bug #35106 (nested foreach fails when array variable has a reference).
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:59:56 +00:00
58a751cc56 ChangeLog update 2007-01-10 01:31:05 +00:00
Andrei Zmievski
1c68a4cff7 Fix 'b' prefix in highlighting and tokenizer. (Matt W) 2007-01-09 17:39:59 +00:00
Dmitry Stogov
158ec65ba2 Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in range of signed integer) 2007-01-09 15:29:29 +00:00
Dmitry Stogov
a318af9992 Fixed bug #40002 (Try/Catch performs poorly) 2007-01-09 15:06:15 +00:00
Dmitry Stogov
9de739b847 Bump year. 2007-01-09 11:54:52 +00:00
8765d8553d ChangeLog update 2007-01-09 01:31:08 +00:00
Andrei Zmievski
c1c23f8f42 Let caller issue error. 2007-01-08 18:01:16 +00:00
Andrei Zmievski
005a9909ae Note. 2007-01-08 17:58:52 +00:00
79d92eaa2f ChangeLog update 2007-01-08 01:31:08 +00:00
Sara Golemon
110a1b6788 Typo 2007-01-07 19:04:33 +00:00
Sara Golemon
7dcebde684 Add add_property_zstr(l)(_ex)() 2007-01-07 06:16:57 +00:00
Sara Golemon
d3149fbda4 Add pestrndup() 2007-01-07 06:16:10 +00:00
Sara Golemon
6f234cbf6f Fix prior commit noticing this time that persistent allocators start with zend_*() and that one already exists 2007-01-07 05:45:07 +00:00
Sara Golemon
97ee887a13 Flesh out some missing API calls 2007-01-07 05:24:55 +00:00
3faf580a9a ChangeLog update 2007-01-06 01:31:04 +00:00
Sara Golemon
b39fc244f0 Update create_function() 2007-01-05 19:00:36 +00:00
3d0d3ed316 ChangeLog update 2007-01-04 01:30:57 +00:00
Antony Dovgal
6dd26de0c9 more magic number fixes 2007-01-03 20:49:27 +00:00
1cb8989129 ChangeLog update 2007-01-02 01:31:02 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
011a8ac0e6 ChangeLog update 2006-12-31 01:30:58 +00:00
4a2fe2e564 ChangeLog update 2006-12-29 01:30:58 +00:00
Antony Dovgal
52d9ed7b34 nuke dead code 2006-12-28 21:01:52 +00:00
19fca9176f ChangeLog update 2006-12-28 01:31:05 +00:00
Antony Dovgal
5204c96323 restore old behaviour when casting objects to strings and NULL 2006-12-27 17:22:22 +00:00
Antony Dovgal
da9f5e95bc fix convert_to_unicode() and convert_to_string() which didn't set the type of the op properly 2006-12-27 16:50:05 +00:00
Antony Dovgal
b1ce8b0345 add zend_u_strtoul() and fix build 2006-12-27 15:23:45 +00:00
62a107ea55 ChangeLog update 2006-12-27 01:31:05 +00:00
Ilia Alshanetsky
2dbfe66e4a MFB: safety checks 2006-12-26 17:40:20 +00:00
599b2e6d38 ChangeLog update 2006-12-26 01:31:04 +00:00
Dmitry Stogov
e88cc26864 Fixed bug #39825 (foreach produces memory error) 2006-12-25 19:23:18 +00:00
Dmitry Stogov
326fcd0261 Fixed bug #39944 (References broken) 2006-12-25 14:16:38 +00:00
Dmitry Stogov
cd07310423 Fixed possible size_t overflow 2006-12-25 12:16:49 +00:00
1a07d80f65 ChangeLog update 2006-12-24 01:31:04 +00:00
Antony Dovgal
6cbc9b0043 fix typo 2006-12-23 14:12:38 +00:00
4d5943ccb7 ChangeLog update 2006-12-23 01:30:59 +00:00
Andrei Zmievski
93b9c779f3 Implement OnUpdateUTF8String() handler. It always assumes UTF-8 input,
since we cannot check for UG(unicodE) inside it.
2006-12-22 21:38:12 +00:00
9b8babbbd2 ChangeLog update 2006-12-22 01:31:06 +00:00
Marcus Boerger
9103d6b5fe - Implement ezstrndup() 2006-12-22 00:56:59 +00:00
Marcus Boerger
7acd10fb2c - Make custom serializing work with zstr (as discussed with andrei) 2006-12-22 00:29:11 +00:00
Marcus Boerger
bc1b8f0ab1 - Use conversion macro 2006-12-22 00:28:20 +00:00
Marcus Boerger
063fe11d25 -Serialization doesn't work with unicode data 2006-12-21 22:54:20 +00:00
Antony Dovgal
bfed0b6d94 fix possible leak 2006-12-21 11:07:41 +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
53f30a15aa make sure err_char is initialized properly 2006-12-21 00:25:16 +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
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
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
89496ce1e6 - Implement zend_zstrndup() 2006-12-20 20:12:11 +00:00
Antony Dovgal
fa2889fbb1 return NULL right away if invalid length was passed 2006-12-20 19:08:23 +00:00
Antony Dovgal
7d1e0e7f30 fix #39903 (Notice message when executing __halt_compiler() more than once) 2006-12-20 16:30:00 +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
Marcus Boerger
dcc6a0e511 - Changed macro once again 2006-12-19 22:27:15 +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
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
c80e30a86f ChangeLog update 2006-12-19 01:31:00 +00:00
Dmitry Stogov
4d7652abef Fixed random generation of cookies and canaries 2006-12-18 11:39:34 +00:00
c89dabe0a2 ChangeLog update 2006-12-17 01:31:06 +00:00
Hannes Magnusson
950ab95207 Fix ZTS build 2006-12-16 18:31:23 +00:00
344ee28eb1 ChangeLog update 2006-12-16 01:31:02 +00:00
Andrei Zmievski
8a4e2184e0 Make convert_to_*() APIs return SUCCESS/FAILURE. 2006-12-16 00:21:41 +00:00
Andrei Zmievski
03547341ec __builtin_expect() exists only in GCC 3.0 and higher. 2006-12-15 22:47:09 +00:00
Andrei Zmievski
b78a38a2ae Make all macros (RETURN_*, RETVAL_*, ZVAL_*, add_*) that convert binary
strings to Unicode actually issues errors on failure. I'm surprised we
haven't done this already.
2006-12-15 22:35:23 +00:00
Andrei Zmievski
4d9e16e743 Fix potential buffer overflow in default conversion error handler. 2006-12-15 22:33:28 +00:00
Andrei Zmievski
a87ab2a879 Make utf8_conv stop on conversion errors when converting to UTF-16. 2006-12-15 22:30:44 +00:00
Andi Gutmans
76b38dc441 - MF 5.2 (put cookie in first place) 2006-12-15 17:17:57 +00:00
Dmitry Stogov
03ffc4de4e Added internal heap protection
. safe unlinking
  . cookies
  . canary protection (debug build only)
2006-12-15 13:25:47 +00:00
4967375aef ChangeLog update 2006-12-13 01:31:03 +00:00
Sara Golemon
16cd1e762c Bugfix# 39435: 'foo' instanceof bar gives invalid opcode error 2006-12-12 23:09:01 +00:00
179456f9c1 ChangeLog update 2006-12-12 01:31:15 +00:00
Andrei Zmievski
5a15a3c3f4 Clarify stream_encoding. 2006-12-11 21:48:07 +00:00
a1f9cfb653 ChangeLog update 2006-12-09 01:31:06 +00:00
Dmitry Stogov
f37ad2e146 Fixed bug #39775 ("Indirect modification ..." message is not shown) 2006-12-08 16:23:04 +00:00
Dmitry Stogov
595c45e532 Fixed possible failure 2006-12-08 12:47:58 +00:00
49b8d0cd37 ChangeLog update 2006-12-08 01:31:00 +00:00
Antony Dovgal
2122cf4fab initialize variables and make Coverity happy 2006-12-07 20:45:21 +00:00
Andrei Zmievski
6526e323a1 Apply Matt W's patch to only allow ASCII digits and not use u_digit(). 2006-12-07 18:56:25 +00:00
Andrei Zmievski
1ef43a02ee Guard against ambiguous 'else' clauses. 2006-12-07 18:19:21 +00:00
7d6583a064 ChangeLog update 2006-12-07 01:31:16 +00:00
Antony Dovgal
8f98226510 fix tests 2006-12-06 13:11:02 +00:00
Antony Dovgal
b8ad517526 add zend_u_strtod() implementation by Matt Wilmas
major speedup when using floats in Unicode mode
also fixes several problems with the current code
2006-12-06 12:25:29 +00:00
Antony Dovgal
d8e8eb4e08 destroy freelist before destroying the mutexes 2006-12-06 10:49:19 +00:00
Antony Dovgal
4789badd3a 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:50:28 +00:00
d0792dc615 ChangeLog update 2006-12-06 01:31:05 +00:00
Dmitry Stogov
3d5825bb3d Fixed bug #39721 (Runtime inheritance causes data corruption) 2006-12-05 19:04:51 +00:00
Antony Dovgal
07cbe3317a remove duplicating line 2006-12-05 12:55:38 +00:00
Dmitry Stogov
08f035bbac Removed unused zend_mm.* 2006-12-05 08:08:33 +00:00
Stanislav Malyshev
40b496d63f Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
09848fa0fc ChangeLog update 2006-12-05 01:31:09 +00:00
Dmitry Stogov
f595859918 Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi) 2006-12-04 16:30:59 +00:00
2b16c2569a ChangeLog update 2006-12-02 01:31:01 +00:00
Dmitry Stogov
ef3df1e6ff Bug #39438 (Fatal error: Out of memory) 2006-12-01 20:02:00 +00:00
Dmitry Stogov
5b5b730c4c typo 2006-12-01 19:42:19 +00:00
Dmitry Stogov
fa6ab159a6 Fixed bug #39702 (php crashes in the allocator on linux-m68k) 2006-12-01 15:33:20 +00:00
Dmitry Stogov
bea2519575 Fixed buffer overflow. (Rob) 2006-12-01 14:57:44 +00:00
Dmitry Stogov
106c808d41 Fixed bug #39640 (Segfault with "Allowed memory size exhausted") 2006-12-01 13:54:49 +00:00
Dmitry Stogov
d935b44364 Fixed bug #39652 (Wrong negative results from memeory_get_usage()) 2006-12-01 11:40:23 +00:00
23757fce66 ChangeLog update 2006-12-01 01:31:01 +00:00
Antony Dovgal
b0f688006d fix test 2006-11-30 13:09:24 +00:00
58698c964c ChangeLog update 2006-11-29 01:31:10 +00:00
Antony Dovgal
afd3d27c5f resolve coverity issue #224 2006-11-28 21:19:58 +00:00
929123554a ChangeLog update 2006-11-25 01:31:23 +00:00
Antony Dovgal
63df6688b5 initialize CG(literal_type) using ZEND_STR_TYPE macro
add CG(literal_type) initialization in non-ZTS mode
fixes backticks operator
2006-11-24 11:36:40 +00:00
7f16662c6b ChangeLog update 2006-11-24 01:31:16 +00:00
Antony Dovgal
7d4abedf5a nullify opened_path and filename (when required)
fixes invalid reads with `php-cli -F <script>`
2006-11-23 22:04:32 +00:00
Dmitry Stogov
a44849cf0e Fixed bug #39534 (Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com) 2006-11-23 09:33:01 +00:00
Dmitry Stogov
6b2f3046e8 Fixed bug #39602 (Invalid session.save_handler crashes PHP) 2006-11-23 08:07:16 +00:00
3922d05797 ChangeLog update 2006-11-22 01:31:26 +00:00
Antony Dovgal
0052d291fc add test for some of builtin funcs 2006-11-21 11:11:25 +00:00
Antony Dovgal
43559f1b18 fix leak in get_extension_funcs() 2006-11-21 11:10:01 +00:00
Antony Dovgal
6983398b91 fix proto 2006-11-21 10:48:16 +00:00
f2a6b5ff00 ChangeLog update 2006-11-21 01:31:11 +00:00
Antony Dovgal
0e647693df fix leak in zend_register_functions()
this is very odd, but Zend MM said nothing about it..
2006-11-20 22:08:27 +00:00
fa94ed2bb2 ChangeLog update 2006-11-18 01:31:10 +00:00
Dmitry Stogov
57d22421db Unicode support.
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
ce5812d198 ChangeLog update 2006-11-16 01:31:33 +00:00
Antony Dovgal
8043daedbb fix typo (patch by Mike Wallner) 2006-11-15 22:50:19 +00:00
Dmitry Stogov
7edaae4ebf typo 2006-11-15 17:53:39 +00:00
Antony Dovgal
7c08c95070 fix leak appearing when converting object to NULL
add test
2006-11-15 17:28:56 +00:00
Dmitry Stogov
cc134cef18 Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash) 2006-11-15 16:05:26 +00:00
838419f864 ChangeLog update 2006-11-14 01:31:25 +00:00
Dmitry Stogov
eae5ec4197 Fixed incorrect heap corruptiuon detection code 2006-11-13 10:28:57 +00:00
55409461d2 ChangeLog update 2006-11-11 01:31:31 +00:00
Dmitry Stogov
706a0364e6 Unicode support 2006-11-10 14:21:13 +00:00
Dmitry Stogov
449e7d18a2 Start timiout thread on Windows only if necessary 2006-11-10 11:51:55 +00:00
Dmitry Stogov
df34e766b6 Zend Memory Manager Improvements
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default
2006-11-10 10:44:16 +00:00
0daf1284cd ChangeLog update 2006-11-10 01:31:22 +00:00
Antony Dovgal
e16db0f454 add two more unicode related macros 2006-11-09 23:50:47 +00:00
e6714ae698 ChangeLog update 2006-11-09 01:31:24 +00:00
Dmitry Stogov
86c0ed37c8 HashTable copying optimization (Matt Wilmas) 2006-11-08 16:02:29 +00:00
Dmitry Stogov
f8b3df2bf2 Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array). 2006-11-08 13:38:44 +00:00
Dmitry Stogov
15aca2c17d Fixed bug #39344 (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry) 2006-11-08 11:04:42 +00:00
Sara Golemon
63c3ea2dcd Put zend_lookup_class_ex back into the API for BC. 2006-11-08 10:09:17 +00:00
157ace4f0e ChangeLog update 2006-11-08 01:31:28 +00:00
Ilia Alshanetsky
d5c7a2d9c6 MFB: Fixed bug #33282 (Re-assignment by reference does not clear the is_ref
flag)
2006-11-07 20:28:40 +00:00
97d10609bd ChangeLog update 2006-11-04 01:31:15 +00:00
d9419bc989 ChangeLog update 2006-11-02 01:31:07 +00:00
Johannes Schlüter
4b805aab5d - restoring init of the uni str which has been removed (patch by Pierre) 2006-11-01 20:04:19 +00:00
2b4e4159db ChangeLog update 2006-11-01 01:31:07 +00:00
Marcus Boerger
d675326a22 - Consistency of apply funcs, #39320 2006-10-31 22:05:56 +00:00
Marcus Boerger
f7600a7b67 - Fix issue with name mangling 2006-10-31 19:21:03 +00:00
b124d3c4b3 ChangeLog update 2006-10-31 01:31:15 +00:00