Commit Graph

662 Commits

Author SHA1 Message Date
Dmitry Stogov
558e883302 Fixed bug #36268 (Object destructors called even after fatal errors) 2006-02-03 09:33:31 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Dmitry Stogov
7e5b53c2b3 Fixed bug #36016 (realpath cache memleaks) 2006-01-16 09:17:50 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Dmitry Stogov
52a9d56185 Fixed memory overflow, because usage of initialized value 2005-12-07 09:00:29 +00:00
Ilia Alshanetsky
112f016a39 MFB51: Better critical error handling (fix for previous html encoding patch). 2005-12-07 02:37:35 +00:00
Ilia Alshanetsky
f0191491f2 MFB51: Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if
display_startup_error is off).
2005-12-06 23:32:27 +00:00
Ilia Alshanetsky
2d789c2366 MFB51: Fixed possible XSS inside error reporting functionality. 2005-12-06 03:13:53 +00:00
foobar
1c0ece7149 - nuke php3 legacy 2005-12-06 01:04:42 +00:00
Ilia Alshanetsky
6407b345b9 MFB51: Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x) 2005-11-25 00:07:57 +00:00
Rasmus Lerdorf
e1f1857978 Add allow_url_include to let people turn on allow_url_fopen without also
enabling remote code execution through url wrappers
2005-11-18 16:20:43 +00:00
Dmitry Stogov
1f98519ac4 Fixed bug #35176 (include()/require()/*_once() produce wrong error messages about main()) 2005-11-15 11:14:34 +00:00
Rob Richards
551d6c5505 PHP_CONFIG_FILE_PATH needs to use strlen() due to Win build 2005-10-10 02:26:13 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
foobar
7d92b356d9 revert 2005-09-02 14:08:09 +00:00
foobar
ec0b4f91f4 - Fixed bug #34307 (OnUpdateStringUnempty INI options can be set as empty) 2005-09-01 14:42:54 +00:00
Dmitry Stogov
7999c0c3d4 Fixed SIGSEGV 2005-08-29 06:51:51 +00:00
foobar
5cf36ea50f Fix EOLs under winblows 2005-08-17 07:52:17 +00:00
Marcus Boerger
a5f023a829 - Prevent E_STRICT from ending up as exception 2005-08-16 18:09:27 +00:00
foobar
f8e4528a3d These are not defined anymore 2005-08-15 22:31:59 +00:00
Antony Dovgal
b40db3bcb8 allow default_charset & default_mimetype to be changed during runtime 2005-08-12 21:46:14 +00:00
Andrei Zmievski
264cec8be6 Unicode support. 2005-08-11 23:36:07 +00:00
foobar
8864ad2606 - This ini option is only effective when set in php.ini or httpd.conf
or .htacces, etc. as GPC variables are set before any ini_set() is called
2005-08-05 21:44:26 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Dmitry Stogov
70bd938bbd Fixed bug in new module statrup mechanism 2005-07-18 16:20:08 +00:00
Anantha Kesari H Y
d77acff66f main/fopen_wrappers.c
NetWare file names are case insensitive
main/main.c
NetWare has no sendmail binary. It uses the smart host mailing code avaiolable in php distro. Could not find a better place to put this than main/main.c.
-- Kamesh
2005-07-16 12:21:34 +00:00
Ilia Alshanetsky
0131b2b032 Fixed double-free in the digest authentication handling.
# Found and Reported by Stefan Esser
2005-07-12 16:53:30 +00:00
Dmitry Stogov
43c84919be Fixed crash in ext\standard\tests\general_functions\bug32647.php on Windows 2005-07-05 14:13:46 +00:00
Antony Dovgal
e05ec94e1e reorder and prevent memleak: bailout after free() 2005-06-20 19:58:51 +00:00
foobar
a6c7324979 - No extra spaces before #ifndef 2005-06-20 07:04:07 +00:00
Dmitry Stogov
f47c78487b Improved PHP extension loading mechanism with support for module dependencies and conflicts 2005-06-17 09:39:23 +00:00
Wez Furlong
a4874a5533 hmm, backing out this change, as it seems to cause problems with user-space
streams and filters (the ZE needs to close them before it blows away the
user-space code.

Noticed by Dmitry.  Still need to find out how to avoid double-closing streams.
2005-06-09 12:15:14 +00:00
foobar
61e9d432d9 silence warning 2005-06-06 22:01:41 +00:00
Wez Furlong
42ada22e0c Avoid double-freeing streams.
This can happen because all streams are registered as resources;
the engine also tracks them in the open_files global.

Avoid the potential for double-freeing by simply making streams exposed to the
engine have no closer for the engine to call; they will already be in the
resource list, and thus will be shut down properly at request end.
2005-06-06 01:51:48 +00:00
Zeev Suraski
5d880ee78c __halt_compiler() patch interface 2005-06-04 16:16:53 +00:00
Antony Dovgal
d5bb03b11a fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
foobar
085f2a6980 - Reorder request shutdown calls: Call all __destruct() functions and
register_shutdown_function() callbacks before flushing output buffers
  and sending headers.
- Fixes bug #30578 and possibly others related to output buffering.

# Added some comments too about what happens and where
2005-04-28 07:50:53 +00:00
Andrey Hristov
396acbf64c rename 2005-04-27 21:24:37 +00:00
Andrey Hristov
5778fccbbb add INT_MAX and INT_SIZE constants.
#64bit machines are getting wider usage and these are needed
2005-04-19 17:30:07 +00:00
Rui Hirokawa
8235a70ef9 added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication. 2005-04-04 15:06:36 +00:00
Andi Gutmans
b6554f5ad7 - Fix typos 2005-03-24 01:11:11 +00:00
Marcus Boerger
15ed825d6e - Notices shouldn't be treatedas errors and thus not being conidered to be
converted to exceptions.
2005-03-23 07:54:22 +00:00
Marcus Boerger
7b3813ea11 - We don't need to block those here (works as it works with normal error
overloading)
2005-03-19 14:27:17 +00:00
foobar
d0bb8f5f12 This makes more sense. (Someone might actually use php_error_docref0() :) 2005-03-08 21:42:10 +00:00
foobar
3f57b46f67 cs fix (really annoying :) 2005-02-27 12:50:22 +00:00
Moriyoshi Koizumi
0d7845384f - Fix bug #28568 (known_post_content_types is not thread safe).
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
foobar
6ffb0dcaf2 - Fix leaks with registered shutdown functions. 2005-01-09 16:30:09 +00:00
Andi Gutmans
4e942cb07f - Fix bug #27728 (Can't return within a zend_try{} or the previous
state isn't restored.
2004-12-10 22:59:25 +00:00
Anantha Kesari H Y
6021286c5d removing php_output_activate Fix for bug#30397 2004-10-18 10:26:45 +00:00
Derick Rethans
3b2879b3c1 - Revert patch until it is discussed 2004-10-18 06:04:02 +00:00