]>
granicus.if.org Git - php/log
Zeev Suraski [Sun, 15 Jul 2001 11:53:18 +0000 (11:53 +0000)]
Make bailouts valid at request_startup
Stig Venaas [Sun, 15 Jul 2001 11:12:28 +0000 (11:12 +0000)]
Fixed memory leaks in ldap_get_entries() and ldap_get_dn() when using
RFC1823 API
# These leaks have always been there, will fix in PHP3
@- Fixed various memory leaks in the LDAP extension (Stig Venaas)
<changelog@php.net> [Sat, 14 Jul 2001 23:10:30 +0000 (23:10 +0000)]
ChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 23:10:25 +0000 (23:10 +0000)]
NEWS update
Andi Gutmans [Sat, 14 Jul 2001 16:41:58 +0000 (16:41 +0000)]
- Faster without calling strlen()
Rasmus Lerdorf [Sat, 14 Jul 2001 15:08:36 +0000 (15:08 +0000)]
Fix for bug #11632
Andrei Zmievski [Sat, 14 Jul 2001 14:26:56 +0000 (14:26 +0000)]
Fix NEWS.
Wez Furlong [Sat, 14 Jul 2001 12:59:46 +0000 (12:59 +0000)]
Fix for bug #12065
# Was that it??
Thies C. Arntzen [Sat, 14 Jul 2001 12:45:42 +0000 (12:45 +0000)]
clearify ocisetprefetch
<changelog@php.net> [Sat, 14 Jul 2001 01:42:40 +0000 (01:42 +0000)]
ChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 01:42:34 +0000 (01:42 +0000)]
NEWS update
<changelog@php.net> [Fri, 13 Jul 2001 23:10:03 +0000 (23:10 +0000)]
ChangeLog update
Boian Bonev [Fri, 13 Jul 2001 20:45:19 +0000 (20:45 +0000)]
replaced add_index_string with add_next_index_string
made vpopmail_alias_get_all return sane result
James E. Flemer [Fri, 13 Jul 2001 18:21:21 +0000 (18:21 +0000)]
o Fixed Bug #12121: chdir and safe_mode
- [ main/safe_mode.h ] added new checkuid mode:
CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check
fails
- [ ext/standard/dir.c ] changed php_checkuid() to use
CHECKUID_ALLOW_ONLY_FILE instead of CHECKUID_ALLOW_ONLY_DIR
- [ main/safe_mode.c ] added code for new checkuid mode
o Fixed Bug #12119: safe mode owner check can be bypassed with symlink
- [ main/safe_mode.c ] use VCWD_REALPATH to resolve destination
of symlink before trimming filename
o New Feature: safe_mode_include_dir (php.ini directive)
- Allows bypassing UID/GID checks when including files
from the directory in safe_mode_include_dir and its
subdirectories. (safe_mode must be on, directory must
also be in include_path or full path must be used when
including)
o Fixed Feature: safe_mode_gid (php.ini directive)
- Correctly check (and report) UID/GID bits on directories
o Changed include() fall back to scripts cwd implementation
- CWD added to the (local) search path in php_fopen_with_path()
instead of seperate case. [ main/fopen_wrappers.c ]
Rasmus Lerdorf [Fri, 13 Jul 2001 17:13:00 +0000 (17:13 +0000)]
Fix for #11941
<changelog@php.net> [Fri, 13 Jul 2001 17:07:29 +0000 (17:07 +0000)]
ChangeLog update
Rasmus Lerdorf [Fri, 13 Jul 2001 16:58:09 +0000 (16:58 +0000)]
Add fdf_set_encoding()
Sterling Hughes [Fri, 13 Jul 2001 16:44:44 +0000 (16:44 +0000)]
add missing break statements.
Sascha Schumann [Fri, 13 Jul 2001 16:08:39 +0000 (16:08 +0000)]
Fix xmlrpc_error:number handling
Thies C. Arntzen [Fri, 13 Jul 2001 15:49:18 +0000 (15:49 +0000)]
change test-name
Thies C. Arntzen [Fri, 13 Jul 2001 15:48:37 +0000 (15:48 +0000)]
make sure all string from zlib are \0 terminated.
change one realloc to erealloc (though this code is never reached IMHO)
add regression tests
Thies C. Arntzen [Fri, 13 Jul 2001 15:19:17 +0000 (15:19 +0000)]
fixed #12091. added \0 bytes at EOS in a few cases.
Thies C. Arntzen [Fri, 13 Jul 2001 14:35:05 +0000 (14:35 +0000)]
@ - Fixed crash in iptcparse() if the supplied data was bogus. (Thies)
Thies C. Arntzen [Fri, 13 Jul 2001 12:20:13 +0000 (12:20 +0000)]
.
Zeev Suraski [Fri, 13 Jul 2001 12:08:32 +0000 (12:08 +0000)]
layout
Thies C. Arntzen [Fri, 13 Jul 2001 12:05:47 +0000 (12:05 +0000)]
the resource-lists are now destroyed backwards. this will make sure that
resources get destroyed in the opposite order they were created and thereby
db-cursors will always be released before their corresponding connection etc.
this sould not break anything!
Thies C. Arntzen [Fri, 13 Jul 2001 10:32:37 +0000 (10:32 +0000)]
make regession test of session work without the ugly hack in session.c
and removed that ugly hack.
Rasmus Lerdorf [Fri, 13 Jul 2001 05:21:37 +0000 (05:21 +0000)]
Fix for bug #12081
@ - Fix return value for a failed snmpset() - now returns false (Rasmus)
Rasmus Lerdorf [Fri, 13 Jul 2001 05:09:40 +0000 (05:09 +0000)]
Add port support to snmp functions
@ - Add hostname:port support to snmp functions
@ (nbougues@axialys.net, Rasmus)
Rui Hirokawa [Fri, 13 Jul 2001 03:37:18 +0000 (03:37 +0000)]
added an option to support utf-8 in pcre.
John Donagher [Fri, 13 Jul 2001 01:46:31 +0000 (01:46 +0000)]
Quote grep patterns to avoid shell interpretation
Frank M. Kromann [Thu, 12 Jul 2001 22:43:25 +0000 (22:43 +0000)]
Fixing bug when using select unique from <table>
The value was not returned to the script
<changelog@php.net> [Thu, 12 Jul 2001 22:10:30 +0000 (22:10 +0000)]
ChangeLog update
Tomas V.V.Cox [Thu, 12 Jul 2001 11:14:12 +0000 (11:14 +0000)]
added DB_PARAM_MISC constant to use in prepare/execute
Sascha Schumann [Wed, 11 Jul 2001 23:13:55 +0000 (23:13 +0000)]
Allow extensions to define custom prealloc sizes
Sterling Hughes [Wed, 11 Jul 2001 23:03:24 +0000 (23:03 +0000)]
Herr sascha's reccomendation.
<changelog@php.net> [Wed, 11 Jul 2001 22:10:33 +0000 (22:10 +0000)]
ChangeLog update
Sterling Hughes [Wed, 11 Jul 2001 18:10:52 +0000 (18:10 +0000)]
Return proper length, thanks for excellent reports by Colin.
Zeev Suraski [Wed, 11 Jul 2001 17:18:22 +0000 (17:18 +0000)]
Remove the last couple of bogus inlines
Zeev Suraski [Wed, 11 Jul 2001 17:10:13 +0000 (17:10 +0000)]
Remove unreferenced variable
Andi Gutmans [Wed, 11 Jul 2001 16:16:08 +0000 (16:16 +0000)]
- Move inline_zend_hash_func() to header file
Thies C. Arntzen [Wed, 11 Jul 2001 15:27:37 +0000 (15:27 +0000)]
use ZVAL_* macros
Thies C. Arntzen [Wed, 11 Jul 2001 15:26:42 +0000 (15:26 +0000)]
gzencode() now zero-terminates its buffer.
Daniel Beulshausen [Wed, 11 Jul 2001 15:10:56 +0000 (15:10 +0000)]
fix handle dup.
Hartmut Holzgraefe [Wed, 11 Jul 2001 13:46:11 +0000 (13:46 +0000)]
workaround to make ext/session well behaved with 'make test' and E_ALL
Hartmut Holzgraefe [Wed, 11 Jul 2001 13:27:27 +0000 (13:27 +0000)]
cleanup in preparation for session_readonly()
Hartmut Holzgraefe [Wed, 11 Jul 2001 13:19:07 +0000 (13:19 +0000)]
once again, make test would not work right with error_reporting=E_ALL
Thies C. Arntzen [Wed, 11 Jul 2001 12:42:25 +0000 (12:42 +0000)]
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
Thies C. Arntzen [Wed, 11 Jul 2001 12:40:29 +0000 (12:40 +0000)]
fixed ZVAL_FALSE and ZVAL_TRUE
Stanislav Malyshev [Wed, 11 Jul 2001 12:20:07 +0000 (12:20 +0000)]
No hashpjw anymore, but we have zend_hash_func
Stanislav Malyshev [Wed, 11 Jul 2001 11:45:05 +0000 (11:45 +0000)]
More correct pseudo-fix
# This is not really a fix. This thing is still broken. I will think on
# how to really fix it. Any suggestion is *welcome*.
Zeev Suraski [Wed, 11 Jul 2001 11:39:10 +0000 (11:39 +0000)]
Nuke zval_reset
Zeev Suraski [Wed, 11 Jul 2001 11:35:11 +0000 (11:35 +0000)]
Get rid of ZVAL_RESET...
Tomas V.V.Cox [Wed, 11 Jul 2001 11:03:27 +0000 (11:03 +0000)]
added LOCK/UNLOCK to mainps queries (reported by Erik Hjortsberg)
Zeev Suraski [Wed, 11 Jul 2001 09:39:09 +0000 (09:39 +0000)]
var_reset -> ZVAL_RESET
Zeev Suraski [Wed, 11 Jul 2001 09:33:41 +0000 (09:33 +0000)]
Get rid of some inlines
Shane Caraveo [Wed, 11 Jul 2001 05:57:18 +0000 (05:57 +0000)]
prevent php from crashing when serializing circular data.
This script produced the crash.
<?
$hash["test_key"] = "test_value";
$hash["hash_key"] = &$hash;
echo serialize($hash);
?>
Andrei Zmievski [Wed, 11 Jul 2001 04:13:34 +0000 (04:13 +0000)]
Wrap lines.
Andrei Zmievski [Wed, 11 Jul 2001 03:58:51 +0000 (03:58 +0000)]
Modified to work with the new parameter parsing API as a demonstration.
<changelog@php.net> [Wed, 11 Jul 2001 01:20:26 +0000 (01:20 +0000)]
ChangeLog update
Sterling Hughes [Wed, 11 Jul 2001 01:06:09 +0000 (01:06 +0000)]
fix.
Frank M. Kromann [Tue, 10 Jul 2001 23:39:39 +0000 (23:39 +0000)]
changed return value from fbsql_query to be booloan
Frank M. Kromann [Tue, 10 Jul 2001 22:34:24 +0000 (22:34 +0000)]
Fixing return value from fbsql_query after a DELETE FROM with success.
Tomas V.V.Cox [Tue, 10 Jul 2001 21:49:51 +0000 (21:49 +0000)]
added NEED_MORE_DATA error message to $errorMessages
Andi Gutmans [Tue, 10 Jul 2001 20:40:56 +0000 (20:40 +0000)]
- Nuke fprintf()
Andi Gutmans [Tue, 10 Jul 2001 20:38:39 +0000 (20:38 +0000)]
- Commit patch which checks for an include file in the calling scripts'
current working directory if everything else fails (include_path).
- Right now this also effects things like opening php.ini. It'll now always
check in the current working directory for php.ini. I think this doesn't
screw up todays behavior.
Sterling Hughes [Tue, 10 Jul 2001 20:31:49 +0000 (20:31 +0000)]
# I think i am quite stupid.
Andi Gutmans [Tue, 10 Jul 2001 20:31:42 +0000 (20:31 +0000)]
- Merge faster hash implementation.
- The hash function parameter in hash_init(...) is not used anymore.
- It should be removed but it is "to be decided" if we want to do that now
- or in a major version as it means changing MANY places and third party
- modules might stop working.
Sterling Hughes [Tue, 10 Jul 2001 20:09:56 +0000 (20:09 +0000)]
If the transfer fails, still free the buffer if it exists.
Zeev Suraski [Tue, 10 Jul 2001 18:49:47 +0000 (18:49 +0000)]
Whitespace
<changelog@php.net> [Tue, 10 Jul 2001 17:11:00 +0000 (17:11 +0000)]
ChangeLog update
<changelog@php.net> [Tue, 10 Jul 2001 17:10:53 +0000 (17:10 +0000)]
NEWS update
Sascha Schumann [Tue, 10 Jul 2001 15:59:33 +0000 (15:59 +0000)]
Allow errors to be returned as XMLRPC fault packets.
Submitted by: Matt Allen <matt@investigationmarketplace.com>
Rasmus Lerdorf [Tue, 10 Jul 2001 14:35:25 +0000 (14:35 +0000)]
manual update
Zeev Suraski [Tue, 10 Jul 2001 12:57:28 +0000 (12:57 +0000)]
Fix a couple of buffer overflows in mcrypt.c
Tomas V.V.Cox [Tue, 10 Jul 2001 11:55:15 +0000 (11:55 +0000)]
minor in-line doc fix
Thies C. Arntzen [Tue, 10 Jul 2001 08:20:20 +0000 (08:20 +0000)]
cleaned up the RETVAL_ RETURN_ and ZVAL_ macros
added check for \0 at end-of-string at some places. all strings in PHP
have to be terminated with \0 because 3th party libraries might not be
binary-safe.
Andi Gutmans [Tue, 10 Jul 2001 05:02:50 +0000 (05:02 +0000)]
- Commit Thies' patch. str.len was too long.
Rasmus Lerdorf [Mon, 9 Jul 2001 20:36:47 +0000 (20:36 +0000)]
Make range() function smarter
@ - Improve range() function to support range('a','z') and range(9,0)
@ types of ranges. (Rasmus)
Rasmus Lerdorf [Mon, 9 Jul 2001 18:57:19 +0000 (18:57 +0000)]
Fix Windows build (I think)
Andrei Zmievski [Mon, 9 Jul 2001 18:54:59 +0000 (18:54 +0000)]
*** empty log message ***
Andrei Zmievski [Mon, 9 Jul 2001 18:51:29 +0000 (18:51 +0000)]
Adding new parameter parsing API.
Thies C. Arntzen [Mon, 9 Jul 2001 18:01:18 +0000 (18:01 +0000)]
fix newly introduced SEFAULT.
Sascha Schumann [Mon, 9 Jul 2001 17:44:07 +0000 (17:44 +0000)]
__USE_GNU should not be defined by an application.
Rasmus Lerdorf [Mon, 9 Jul 2001 17:36:04 +0000 (17:36 +0000)]
Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)
Derick Rethans [Mon, 9 Jul 2001 17:02:50 +0000 (17:02 +0000)]
- Added php_escape_shell_arg to the header file
Daniel Beulshausen [Mon, 9 Jul 2001 16:44:40 +0000 (16:44 +0000)]
adopt shane's popen patch
Thies C. Arntzen [Mon, 9 Jul 2001 10:20:41 +0000 (10:20 +0000)]
@ - assert() now accepts the array(&$obj,"methodname") syntax. (Thies)
+ some cleanups
Thies C. Arntzen [Mon, 9 Jul 2001 09:08:14 +0000 (09:08 +0000)]
added test for assert
Thies C. Arntzen [Mon, 9 Jul 2001 09:04:19 +0000 (09:04 +0000)]
changed to use Z_* macros
Thies C. Arntzen [Mon, 9 Jul 2001 09:03:06 +0000 (09:03 +0000)]
added test for serialize
changed var.c to use Z_* macros
Thies C. Arntzen [Mon, 9 Jul 2001 06:49:34 +0000 (06:49 +0000)]
xml_utf8_encode: make sure the returned data is zero-terminated
Thies C. Arntzen [Mon, 9 Jul 2001 06:48:15 +0000 (06:48 +0000)]
use erealloc for zvals!
Sascha Schumann [Sun, 8 Jul 2001 23:28:48 +0000 (23:28 +0000)]
Reset strtok_string, so that strtok can be used in all session handler
functions.
Shane Caraveo [Sun, 8 Jul 2001 22:30:11 +0000 (22:30 +0000)]
Enable using an external mailer under windows.
1. this depends on the patch to fix tsrm I sent to dev
2. this provides backwards compatibility, as long as sendmail_path in the ini file is empty, the old internal mailer will be used, once sendmail_path is defined, the external sendmail program will be used.
I tested with indigomail from www.indigostar.com, which provides the same command line interface as sendmail no linux.
Sascha Schumann [Sun, 8 Jul 2001 19:09:59 +0000 (19:09 +0000)]
Needed for the prototype of php_escape_shell_cmd().
Thies C. Arntzen [Sun, 8 Jul 2001 12:37:08 +0000 (12:37 +0000)]
@ - Make sure that OCI8 outbound variables are always zero-terminated. (Thies)
Joey Smith [Sun, 8 Jul 2001 00:54:25 +0000 (00:54 +0000)]
This should get xmldocfile() working again.
This should fix bugs:
11192, 10899
Sebastian Bergmann [Sat, 7 Jul 2001 23:15:08 +0000 (23:15 +0000)]
Convert double-quotes to single-quotes.
Andi Gutmans [Sat, 7 Jul 2001 20:00:35 +0000 (20:00 +0000)]
- Fix off by one error in allocating command line (by Shane)