]> granicus.if.org Git - php/log
php
23 years agoFix bug #10287 - avoid crashing under a bogus usage of list()
Zeev Suraski [Mon, 16 Jul 2001 15:48:31 +0000 (15:48 +0000)]
Fix bug #10287 - avoid crashing under a bogus usage of list()

23 years agoMake read always 0-terminate strings
Stanislav Malyshev [Mon, 16 Jul 2001 15:44:36 +0000 (15:44 +0000)]
Make read always 0-terminate strings

23 years agoFix the crash Joey found
Zeev Suraski [Mon, 16 Jul 2001 13:48:07 +0000 (13:48 +0000)]
Fix the crash Joey found

23 years agoGeneralize
Zeev Suraski [Mon, 16 Jul 2001 13:31:55 +0000 (13:31 +0000)]
Generalize

23 years agoAdd a useful #define
Zeev Suraski [Mon, 16 Jul 2001 13:31:22 +0000 (13:31 +0000)]
Add a useful #define

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

23 years agoFix NEWS.
Andrei Zmievski [Mon, 16 Jul 2001 13:09:55 +0000 (13:09 +0000)]
Fix NEWS.

23 years agoAdd credits to GMP
Stanislav Malyshev [Mon, 16 Jul 2001 12:45:36 +0000 (12:45 +0000)]
Add credits to GMP

23 years agoFix bug #10467
Zeev Suraski [Mon, 16 Jul 2001 11:41:06 +0000 (11:41 +0000)]
Fix bug #10467

23 years agoClose Bug #10235.
Joey Smith [Mon, 16 Jul 2001 11:16:44 +0000 (11:16 +0000)]
Close Bug #10235.

This makes domxml_root() work again. It now works
equally as well as object method or a simple function.

23 years agoFix a couple of build warnings
Rasmus Lerdorf [Mon, 16 Jul 2001 04:31:13 +0000 (04:31 +0000)]
Fix a couple of build warnings

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

23 years agoNEWS update
<changelog@php.net> [Mon, 16 Jul 2001 00:10:07 +0000 (00:10 +0000)]
NEWS update

23 years ago(PEAR DB) some doc fixes
Stig Bakken [Sun, 15 Jul 2001 22:54:08 +0000 (22:54 +0000)]
(PEAR DB) some doc fixes

23 years agoUpdate cast
Zeev Suraski [Sun, 15 Jul 2001 22:49:25 +0000 (22:49 +0000)]
Update cast

23 years agoMinor cleaning
Zeev Suraski [Sun, 15 Jul 2001 22:48:04 +0000 (22:48 +0000)]
Minor cleaning

23 years agoOptimize the parser a bit
Zeev Suraski [Sun, 15 Jul 2001 19:24:32 +0000 (19:24 +0000)]
Optimize the parser a bit

23 years agoFix warning
Zeev Suraski [Sun, 15 Jul 2001 19:14:25 +0000 (19:14 +0000)]
Fix warning

23 years agoFix an inline
Zeev Suraski [Sun, 15 Jul 2001 19:08:32 +0000 (19:08 +0000)]
Fix an inline

23 years agoGet rid of var_uninit()
Zeev Suraski [Sun, 15 Jul 2001 19:03:04 +0000 (19:03 +0000)]
Get rid of var_uninit()

23 years agoTime to bid this old timer goodbye - get rid of var_uninit()
Zeev Suraski [Sun, 15 Jul 2001 19:02:20 +0000 (19:02 +0000)]
Time to bid this old timer goodbye - get rid of var_uninit()

23 years agoFix bug #6239
Zeev Suraski [Sun, 15 Jul 2001 18:57:43 +0000 (18:57 +0000)]
Fix bug #6239

23 years agoAllow indirect reference to method names in class::method() construct
Zeev Suraski [Sun, 15 Jul 2001 18:39:14 +0000 (18:39 +0000)]
Allow indirect reference to method names in class::method() construct

23 years agoFix bug #10257
Zeev Suraski [Sun, 15 Jul 2001 17:48:50 +0000 (17:48 +0000)]
Fix bug #10257

23 years agoFix bug #11970
Zeev Suraski [Sun, 15 Jul 2001 16:51:30 +0000 (16:51 +0000)]
Fix bug #11970

23 years agoFix bug #9884
Zeev Suraski [Sun, 15 Jul 2001 16:22:41 +0000 (16:22 +0000)]
Fix bug #9884

23 years agoImproved interactive mode - it is now available in all builds, without any significan...
Zeev Suraski [Sun, 15 Jul 2001 14:08:58 +0000 (14:08 +0000)]
Improved interactive mode - it is now available in all builds, without any significant slowdown

23 years agoFix an inline
Zeev Suraski [Sun, 15 Jul 2001 14:08:23 +0000 (14:08 +0000)]
Fix an inline

23 years agoEarly initialization
Zeev Suraski [Sun, 15 Jul 2001 12:24:10 +0000 (12:24 +0000)]
Early initialization

23 years agoFix a crash with the new check-in-cwd code. It will now work only
Zeev Suraski [Sun, 15 Jul 2001 12:24:06 +0000 (12:24 +0000)]
Fix a crash with the new check-in-cwd code.  It will now work only
with files which are included in runtime, and not files which are opened at startup (e.g., php.ini)

23 years ago2nd bug in the same line
Zeev Suraski [Sun, 15 Jul 2001 12:22:11 +0000 (12:22 +0000)]
2nd bug in the same line

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.