Commit Graph

5635 Commits

Author SHA1 Message Date
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
Dmitry Stogov
1bf9c4a45d Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:04:47 +00:00
34d0ffd03d ChangeLog update 2006-10-29 01:31:12 +00:00
Antony Dovgal
2ea0fcc651 fix build 2006-10-28 10:42:04 +00:00
26bdf07fbf ChangeLog update 2006-10-28 01:31:08 +00:00
Andrei Zmievski
75c272440e Turn doc comments into zstr strings with corresponding adjustments. 2006-10-27 21:22:05 +00:00
fabdfc0550 ChangeLog update 2006-10-27 01:31:13 +00:00
Antony Dovgal
53d94a9821 fix wrong function prototype (see bug #39260) 2006-10-26 09:28:44 +00:00
aca45de82a ChangeLog update 2006-10-25 01:31:04 +00:00
Andrei Zmievski
fbc37c81af Fix key length calculation. 2006-10-24 15:35:16 +00:00
Antony Dovgal
d5fbdc689a fix add_u_assoc_null() macro 2006-10-24 12:46:33 +00:00
8878fefeb6 ChangeLog update 2006-10-21 01:31:08 +00:00
Antony Dovgal
4a98596c90 rename REAL_KEY_SIZE() to USTR_BYTES() and move to zend_unicode.h
this macro is going to be actively used in Unicode version of OCI8 (and other extensions, probably)
2006-10-20 10:33:31 +00:00
b59fcf6572 ChangeLog update 2006-10-20 01:31:17 +00:00