]> granicus.if.org Git - php/log
php
23 years agoremove bogus &
Zeev Suraski [Sun, 15 Jul 2001 12:02:58 +0000 (12:02 +0000)]
remove bogus &

23 years agoMake bailouts valid at request_startup
Zeev Suraski [Sun, 15 Jul 2001 11:53:18 +0000 (11:53 +0000)]
Make bailouts valid at request_startup

23 years agoFixed memory leaks in ldap_get_entries() and ldap_get_dn() when using
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)

23 years agoChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 23:10:30 +0000 (23:10 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 14 Jul 2001 23:10:25 +0000 (23:10 +0000)]
NEWS update

23 years ago- Faster without calling strlen()
Andi Gutmans [Sat, 14 Jul 2001 16:41:58 +0000 (16:41 +0000)]
- Faster without calling strlen()

23 years agoFix for bug #11632
Rasmus Lerdorf [Sat, 14 Jul 2001 15:08:36 +0000 (15:08 +0000)]
Fix for bug #11632

23 years agoFix NEWS.
Andrei Zmievski [Sat, 14 Jul 2001 14:26:56 +0000 (14:26 +0000)]
Fix NEWS.

23 years agoFix for bug #12065
Wez Furlong [Sat, 14 Jul 2001 12:59:46 +0000 (12:59 +0000)]
Fix for bug #12065
# Was that it??

23 years agoclearify ocisetprefetch
Thies C. Arntzen [Sat, 14 Jul 2001 12:45:42 +0000 (12:45 +0000)]
clearify ocisetprefetch

23 years agoChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 01:42:40 +0000 (01:42 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 14 Jul 2001 01:42:34 +0000 (01:42 +0000)]
NEWS update

23 years agoChangeLog update
<changelog@php.net> [Fri, 13 Jul 2001 23:10:03 +0000 (23:10 +0000)]
ChangeLog update

23 years agoreplaced add_index_string with add_next_index_string
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

23 years agoo Fixed Bug #12121: chdir and safe_mode
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 ]

23 years agoFix for #11941
Rasmus Lerdorf [Fri, 13 Jul 2001 17:13:00 +0000 (17:13 +0000)]
Fix for #11941

23 years agoChangeLog update
<changelog@php.net> [Fri, 13 Jul 2001 17:07:29 +0000 (17:07 +0000)]
ChangeLog update

23 years agoAdd fdf_set_encoding()
Rasmus Lerdorf [Fri, 13 Jul 2001 16:58:09 +0000 (16:58 +0000)]
Add fdf_set_encoding()

23 years agoadd missing break statements.
Sterling Hughes [Fri, 13 Jul 2001 16:44:44 +0000 (16:44 +0000)]
add missing break statements.

23 years agoFix xmlrpc_error:number handling
Sascha Schumann [Fri, 13 Jul 2001 16:08:39 +0000 (16:08 +0000)]
Fix xmlrpc_error:number handling

23 years agochange test-name
Thies C. Arntzen [Fri, 13 Jul 2001 15:49:18 +0000 (15:49 +0000)]
change test-name

23 years agomake sure all string from zlib are \0 terminated.
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

23 years agofixed #12091. added \0 bytes at EOS in a few cases.
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.

23 years ago@ - Fixed crash in iptcparse() if the supplied data was bogus. (Thies)
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)

23 years ago.
Thies C. Arntzen [Fri, 13 Jul 2001 12:20:13 +0000 (12:20 +0000)]
.

23 years agolayout
Zeev Suraski [Fri, 13 Jul 2001 12:08:32 +0000 (12:08 +0000)]
layout

23 years agothe resource-lists are now destroyed backwards. this will make sure that
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!

23 years agomake regession test of session work without the ugly hack in session.c
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.

23 years agoFix for bug #12081
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)

23 years agoAdd port support to snmp functions
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)

23 years agoadded an option to support utf-8 in pcre.
Rui Hirokawa [Fri, 13 Jul 2001 03:37:18 +0000 (03:37 +0000)]
added an option to support utf-8 in pcre.

23 years agoQuote grep patterns to avoid shell interpretation
John Donagher [Fri, 13 Jul 2001 01:46:31 +0000 (01:46 +0000)]
Quote grep patterns to avoid shell interpretation

23 years agoFixing bug when using select unique from <table>
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

23 years agoChangeLog update
<changelog@php.net> [Thu, 12 Jul 2001 22:10:30 +0000 (22:10 +0000)]
ChangeLog update

23 years agoadded DB_PARAM_MISC constant to use in prepare/execute
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

23 years agoAllow extensions to define custom prealloc sizes
Sascha Schumann [Wed, 11 Jul 2001 23:13:55 +0000 (23:13 +0000)]
Allow extensions to define custom prealloc sizes

23 years agoHerr sascha's reccomendation.
Sterling Hughes [Wed, 11 Jul 2001 23:03:24 +0000 (23:03 +0000)]
Herr sascha's reccomendation.

23 years agoChangeLog update
<changelog@php.net> [Wed, 11 Jul 2001 22:10:33 +0000 (22:10 +0000)]
ChangeLog update

23 years agoReturn proper length, thanks for excellent reports by Colin.
Sterling Hughes [Wed, 11 Jul 2001 18:10:52 +0000 (18:10 +0000)]
Return proper length, thanks for excellent reports by Colin.

23 years agoRemove the last couple of bogus inlines
Zeev Suraski [Wed, 11 Jul 2001 17:18:22 +0000 (17:18 +0000)]
Remove the last couple of bogus inlines

23 years agoRemove unreferenced variable
Zeev Suraski [Wed, 11 Jul 2001 17:10:13 +0000 (17:10 +0000)]
Remove unreferenced variable

23 years ago- Move inline_zend_hash_func() to header file
Andi Gutmans [Wed, 11 Jul 2001 16:16:08 +0000 (16:16 +0000)]
- Move inline_zend_hash_func() to header file

23 years agouse ZVAL_* macros
Thies C. Arntzen [Wed, 11 Jul 2001 15:27:37 +0000 (15:27 +0000)]
use ZVAL_* macros

23 years agogzencode() now zero-terminates its buffer.
Thies C. Arntzen [Wed, 11 Jul 2001 15:26:42 +0000 (15:26 +0000)]
gzencode() now zero-terminates its buffer.

23 years agofix handle dup.
Daniel Beulshausen [Wed, 11 Jul 2001 15:10:56 +0000 (15:10 +0000)]
fix handle dup.

23 years agoworkaround to make ext/session well behaved with 'make test' and E_ALL
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

23 years agocleanup in preparation for session_readonly()
Hartmut Holzgraefe [Wed, 11 Jul 2001 13:27:27 +0000 (13:27 +0000)]
cleanup in preparation for session_readonly()

23 years agoonce again, make test would not work right with error_reporting=E_ALL
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

23 years agoZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
Thies C. Arntzen [Wed, 11 Jul 2001 12:42:25 +0000 (12:42 +0000)]
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)

23 years agofixed ZVAL_FALSE and ZVAL_TRUE
Thies C. Arntzen [Wed, 11 Jul 2001 12:40:29 +0000 (12:40 +0000)]
fixed ZVAL_FALSE and ZVAL_TRUE

23 years agoNo hashpjw anymore, but we have zend_hash_func
Stanislav Malyshev [Wed, 11 Jul 2001 12:20:07 +0000 (12:20 +0000)]
No hashpjw anymore, but we have zend_hash_func

23 years agoMore correct pseudo-fix
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*.

23 years agoNuke zval_reset
Zeev Suraski [Wed, 11 Jul 2001 11:39:10 +0000 (11:39 +0000)]
Nuke zval_reset

23 years agoGet rid of ZVAL_RESET...
Zeev Suraski [Wed, 11 Jul 2001 11:35:11 +0000 (11:35 +0000)]
Get rid of ZVAL_RESET...

23 years agoadded LOCK/UNLOCK to mainps queries (reported by Erik Hjortsberg)
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)

23 years agovar_reset -> ZVAL_RESET
Zeev Suraski [Wed, 11 Jul 2001 09:39:09 +0000 (09:39 +0000)]
var_reset -> ZVAL_RESET

23 years agoGet rid of some inlines
Zeev Suraski [Wed, 11 Jul 2001 09:33:41 +0000 (09:33 +0000)]
Get rid of some inlines

23 years agoprevent php from crashing when serializing circular data.
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);
?>

23 years agoWrap lines.
Andrei Zmievski [Wed, 11 Jul 2001 04:13:34 +0000 (04:13 +0000)]
Wrap lines.

23 years agoModified to work with the new parameter parsing API as a demonstration.
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.

23 years agoChangeLog update
<changelog@php.net> [Wed, 11 Jul 2001 01:20:26 +0000 (01:20 +0000)]
ChangeLog update

23 years agofix.
Sterling Hughes [Wed, 11 Jul 2001 01:06:09 +0000 (01:06 +0000)]
fix.

23 years agochanged return value from fbsql_query to be booloan
Frank M. Kromann [Tue, 10 Jul 2001 23:39:39 +0000 (23:39 +0000)]
changed return value from fbsql_query to be booloan

23 years agoFixing return value from fbsql_query after a DELETE FROM with success.
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.

23 years agoadded NEED_MORE_DATA error message to $errorMessages
Tomas V.V.Cox [Tue, 10 Jul 2001 21:49:51 +0000 (21:49 +0000)]
added NEED_MORE_DATA error message to $errorMessages

23 years ago- Nuke fprintf()
Andi Gutmans [Tue, 10 Jul 2001 20:40:56 +0000 (20:40 +0000)]
- Nuke fprintf()

23 years ago- Commit patch which checks for an include file in the calling scripts'
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.

23 years ago# I think i am quite stupid.
Sterling Hughes [Tue, 10 Jul 2001 20:31:49 +0000 (20:31 +0000)]
# I think i am quite stupid.

23 years ago- Merge faster hash implementation.
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.

23 years agoIf the transfer fails, still free the buffer if it exists.
Sterling Hughes [Tue, 10 Jul 2001 20:09:56 +0000 (20:09 +0000)]
If the transfer fails, still free the buffer if it exists.

23 years agoWhitespace
Zeev Suraski [Tue, 10 Jul 2001 18:49:47 +0000 (18:49 +0000)]
Whitespace

23 years agoChangeLog update
<changelog@php.net> [Tue, 10 Jul 2001 17:11:00 +0000 (17:11 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Tue, 10 Jul 2001 17:10:53 +0000 (17:10 +0000)]
NEWS update

23 years agoAllow errors to be returned as XMLRPC fault packets.
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>

23 years agomanual update
Rasmus Lerdorf [Tue, 10 Jul 2001 14:35:25 +0000 (14:35 +0000)]
manual update

23 years agoFix a couple of buffer overflows in mcrypt.c
Zeev Suraski [Tue, 10 Jul 2001 12:57:28 +0000 (12:57 +0000)]
Fix a couple of buffer overflows in mcrypt.c

23 years agominor in-line doc fix
Tomas V.V.Cox [Tue, 10 Jul 2001 11:55:15 +0000 (11:55 +0000)]
minor in-line doc fix

23 years agocleaned up the RETVAL_ RETURN_ and ZVAL_ macros
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.

23 years ago- Commit Thies' patch. str.len was too long.
Andi Gutmans [Tue, 10 Jul 2001 05:02:50 +0000 (05:02 +0000)]
- Commit Thies' patch. str.len was too long.

23 years agoMake range() function smarter
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)

23 years agoFix Windows build (I think)
Rasmus Lerdorf [Mon, 9 Jul 2001 18:57:19 +0000 (18:57 +0000)]
Fix Windows build (I think)

23 years ago*** empty log message ***
Andrei Zmievski [Mon, 9 Jul 2001 18:54:59 +0000 (18:54 +0000)]
*** empty log message ***

23 years agoAdding new parameter parsing API.
Andrei Zmievski [Mon, 9 Jul 2001 18:51:29 +0000 (18:51 +0000)]
Adding new parameter parsing API.

23 years agofix newly introduced SEFAULT.
Thies C. Arntzen [Mon, 9 Jul 2001 18:01:18 +0000 (18:01 +0000)]
fix newly introduced SEFAULT.

23 years ago__USE_GNU should not be defined by an application.
Sascha Schumann [Mon, 9 Jul 2001 17:44:07 +0000 (17:44 +0000)]
__USE_GNU should not be defined by an application.

23 years agoAdd getmygid() and safe_mode_gid ini directive to allow safe mode to do
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)

23 years ago- Added php_escape_shell_arg to the header file
Derick Rethans [Mon, 9 Jul 2001 17:02:50 +0000 (17:02 +0000)]
- Added php_escape_shell_arg to the header file

23 years agoadopt shane's popen patch
Daniel Beulshausen [Mon, 9 Jul 2001 16:44:40 +0000 (16:44 +0000)]
adopt shane's popen patch

23 years ago@ - assert() now accepts the array(&$obj,"methodname") syntax. (Thies)
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

23 years agoadded test for assert
Thies C. Arntzen [Mon, 9 Jul 2001 09:08:14 +0000 (09:08 +0000)]
added test for assert

23 years agochanged to use Z_* macros
Thies C. Arntzen [Mon, 9 Jul 2001 09:04:19 +0000 (09:04 +0000)]
changed to use Z_* macros

23 years agoadded test for serialize
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

23 years agoxml_utf8_encode: make sure the returned data is zero-terminated
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

23 years agouse erealloc for zvals!
Thies C. Arntzen [Mon, 9 Jul 2001 06:48:15 +0000 (06:48 +0000)]
use erealloc for zvals!

23 years agoReset strtok_string, so that strtok can be used in all session handler
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.

23 years agoEnable using an external mailer under windows.
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.

23 years agoNeeded for the prototype of php_escape_shell_cmd().
Sascha Schumann [Sun, 8 Jul 2001 19:09:59 +0000 (19:09 +0000)]
Needed for the prototype of php_escape_shell_cmd().

23 years ago@ - Make sure that OCI8 outbound variables are always zero-terminated. (Thies)
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)

23 years agoThis should get xmldocfile() working again.
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

23 years agoConvert double-quotes to single-quotes.
Sebastian Bergmann [Sat, 7 Jul 2001 23:15:08 +0000 (23:15 +0000)]
Convert double-quotes to single-quotes.