]> granicus.if.org Git - php/log
php
21 years agoMFH(r-1.4): fixed typo
Moriyoshi Koizumi [Tue, 29 Apr 2003 13:06:12 +0000 (13:06 +0000)]
MFH(r-1.4): fixed typo

21 years agoMFH(r-1.3): fixed bogus skip condition
Moriyoshi Koizumi [Tue, 29 Apr 2003 13:04:57 +0000 (13:04 +0000)]
MFH(r-1.3): fixed bogus skip condition

21 years agodot
Moriyoshi Koizumi [Mon, 28 Apr 2003 23:39:15 +0000 (23:39 +0000)]
dot

21 years agoMFH
Ilia Alshanetsky [Mon, 28 Apr 2003 22:42:36 +0000 (22:42 +0000)]
MFH

21 years agoBFN
Wez Furlong [Mon, 28 Apr 2003 22:38:50 +0000 (22:38 +0000)]
BFN

21 years agoFix Content-Encoding header lacking CRLF
Sascha Schumann [Mon, 28 Apr 2003 22:06:54 +0000 (22:06 +0000)]
Fix Content-Encoding header lacking CRLF

21 years ago- Change the version to 4.3.2-RC3-dev
foobar [Mon, 28 Apr 2003 21:19:03 +0000 (21:19 +0000)]
- Change the version to 4.3.2-RC3-dev
# This should have been RC2-dev before..
# (if it was plain RC, we could not so easily know what versions people
# are testing from snapshots, for example)

21 years ago- Bumb the version to 4.3.2-RC2
foobar [Mon, 28 Apr 2003 21:11:47 +0000 (21:11 +0000)]
- Bumb the version to 4.3.2-RC2

21 years agoMFH
foobar [Mon, 28 Apr 2003 21:00:41 +0000 (21:00 +0000)]
MFH

21 years agousage fix
Sascha Schumann [Mon, 28 Apr 2003 19:42:30 +0000 (19:42 +0000)]
usage fix

21 years ago- MFH
Derick Rethans [Mon, 28 Apr 2003 18:53:46 +0000 (18:53 +0000)]
- MFH

21 years agoRemoved bizarre tests for disgusting bugs which have kept annoying us.
Moriyoshi Koizumi [Mon, 28 Apr 2003 18:51:47 +0000 (18:51 +0000)]
Removed bizarre tests for disgusting bugs which have kept annoying us.
 - bug #22367 (http://bugs.php.net/22367)
 - bug #22510 (http://bugs.php.net/22510)
 - bug #22592 (http://bugs.php.net/22592)

21 years ago- MFH
Derick Rethans [Mon, 28 Apr 2003 18:47:57 +0000 (18:47 +0000)]
- MFH

21 years ago# on working disk again
Sascha Schumann [Mon, 28 Apr 2003 16:18:34 +0000 (16:18 +0000)]
# on working disk again

reverting code, moving to correct branch

21 years ago# disk going bad, rescuing data
Sascha Schumann [Mon, 28 Apr 2003 15:17:00 +0000 (15:17 +0000)]
# disk going bad, rescuing data

improve php_url_encode a bit

21 years agoMFH(r-1.336): added missing sanity check in fgetcsv()
Moriyoshi Koizumi [Mon, 28 Apr 2003 15:11:14 +0000 (15:11 +0000)]
MFH(r-1.336): added missing sanity check in fgetcsv()
Partly synchronised indents with HEAD
# please merge CS fixes to branches too, or leave them as is :(

21 years agoMFH: Fix for #23340; fopen on multiple urls from the same server crashes.
Wez Furlong [Mon, 28 Apr 2003 14:41:54 +0000 (14:41 +0000)]
MFH: Fix for #23340; fopen on multiple urls from the same server crashes.

21 years agoMFH
foobar [Mon, 28 Apr 2003 07:31:00 +0000 (07:31 +0000)]
MFH

21 years agoMFH fix
Marcus Boerger [Sun, 27 Apr 2003 17:20:12 +0000 (17:20 +0000)]
MFH fix

21 years agoThis caused more mess than good, revert to the way it was in 4.3.0...
Zeev Suraski [Sun, 27 Apr 2003 16:35:53 +0000 (16:35 +0000)]
This caused more mess than good, revert to the way it was in 4.3.0...

21 years agofix TSRM
Stanislav Malyshev [Sun, 27 Apr 2003 16:18:01 +0000 (16:18 +0000)]
fix TSRM

21 years agoFix very nasty bug - session cookie kills one of the cookies
Stanislav Malyshev [Sun, 27 Apr 2003 16:02:44 +0000 (16:02 +0000)]
Fix very nasty bug - session cookie kills one of the cookies
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI

21 years agoFix the lack of SSL certificate verification support for ssl:// sockets and
Wez Furlong [Sat, 26 Apr 2003 21:34:49 +0000 (21:34 +0000)]
Fix the lack of SSL certificate verification support for ssl:// sockets and
https:// streams.

This code is essential for people writing secure applications in order to avoid
man-in-the-middle attacks, and is thus regarded as a bug fix.

It is, however, optional; you need to explicitly turn on the verification
functionality, as it depends on you to specify your trusted certificate chain.

This sample demonstrates a secured https:// request, making use of the CA
bundle provided by curl:

<?php
$ctx = stream_context_create();
// Turn on verification
stream_context_set_option($ctx, "ssl", "verify_peer", true);
// Set the CA bundle (trusted certificate chain)
stream_context_set_option($ctx, "ssl", "cafile",
"/usr/local/share/curl/curl-ca-bundle.crt");
$fp = fopen("https://www.zend.com", "rb", false, $ctx);
?>

This sample demonstrates how to roll your own https:// request, and specify a
certificate to use for authentication; the local_cert and passphrase options
will also work for fopen().

<?php
$ctx = stream_context_create();
stream_context_set_option($ctx, "ssl", "verify_peer", true);
stream_context_set_option($ctx, "ssl", "cafile",
"/usr/local/share/curl/curl-ca-bundle.crt");

// set local cert.  it MUST be a PEM encoded file containing the certificate
// AND your private key.  It can also contain the certificate chain of issuers.
stream_context_set_option($ctx, "ssl", "local_cert", "/path/to/my/cert.pem");
stream_context_set_option($ctx, "ssl", "passphrase", "secret!");

// Set the common name that we are expecting; PHP will perform limited wildcard
// matching.  If the CN does not match this, the connection attempt will fail.
// The value to specify will always be the same as the Host: header you specify.
stream_context_set_option($ctx, "ssl", "CN_match", "secure.sample.domain");

$ssl = fsockopen("ssl://secure.sample.domain", 443, $errno, $errstr, 10, $ctx);

if ($ssl) {
fwrite($ssl, "GET / HTTP/1.0\r\nHost: secure.sample.domain\r\n\r\n");
fpassthru($ssl);
}

?>

21 years agoMFH
Ilia Alshanetsky [Fri, 25 Apr 2003 22:00:17 +0000 (22:00 +0000)]
MFH

21 years agoMFH: compile fixes for AIX/HPUX
foobar [Fri, 25 Apr 2003 21:31:49 +0000 (21:31 +0000)]
MFH: compile fixes for AIX/HPUX

21 years agoMFH
foobar [Fri, 25 Apr 2003 18:11:42 +0000 (18:11 +0000)]
MFH

21 years agoMFH(r-1.172): moved copyright notice to the better place
Moriyoshi Koizumi [Fri, 25 Apr 2003 17:40:28 +0000 (17:40 +0000)]
MFH(r-1.172): moved copyright notice to the better place

21 years agoMFH(r-1.171): added a bogus copyright notice
Moriyoshi Koizumi [Fri, 25 Apr 2003 17:35:30 +0000 (17:35 +0000)]
MFH(r-1.171): added a bogus copyright notice

21 years agoMFH
foobar [Fri, 25 Apr 2003 15:43:35 +0000 (15:43 +0000)]
MFH

21 years agoThis commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
SVN Migration [Fri, 25 Apr 2003 15:43:29 +0000 (15:43 +0000)]
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.

21 years agoMFH
foobar [Fri, 25 Apr 2003 10:53:31 +0000 (10:53 +0000)]
MFH

21 years agoBFN
foobar [Fri, 25 Apr 2003 10:15:17 +0000 (10:15 +0000)]
BFN

21 years agoBFN
foobar [Fri, 25 Apr 2003 09:00:00 +0000 (09:00 +0000)]
BFN

21 years agoMFH: Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to 'crypt'")
foobar [Fri, 25 Apr 2003 08:59:00 +0000 (08:59 +0000)]
MFH: Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to 'crypt'")

21 years agoMFH
foobar [Fri, 25 Apr 2003 08:54:09 +0000 (08:54 +0000)]
MFH

21 years agoMFH
foobar [Fri, 25 Apr 2003 08:33:59 +0000 (08:33 +0000)]
MFH

21 years agoThis commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
SVN Migration [Fri, 25 Apr 2003 08:33:26 +0000 (08:33 +0000)]
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.

21 years agoMFH
foobar [Fri, 25 Apr 2003 08:10:23 +0000 (08:10 +0000)]
MFH

21 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Fri, 25 Apr 2003 00:59:03 +0000 (00:59 +0000)]
emalloc -> safe_emalloc

21 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Fri, 25 Apr 2003 00:50:31 +0000 (00:50 +0000)]
emalloc -> safe_emalloc

21 years agominor compiler incompatability fixes
David Hill [Thu, 24 Apr 2003 18:25:47 +0000 (18:25 +0000)]
minor compiler incompatability fixes

21 years agoPotential fix for problems during registration
Wez Furlong [Thu, 24 Apr 2003 13:52:16 +0000 (13:52 +0000)]
Potential fix for problems during registration

21 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Thu, 24 Apr 2003 01:42:09 +0000 (01:42 +0000)]
emalloc -> safe_emalloc

21 years agoMFH Synch: shutdown and ini defaults
Marcus Boerger [Wed, 23 Apr 2003 22:53:17 +0000 (22:53 +0000)]
MFH Synch: shutdown and ini defaults

21 years agoMFH
foobar [Wed, 23 Apr 2003 08:55:09 +0000 (08:55 +0000)]
MFH

21 years agoemalloc -> safe_emalloc
Ilia Alshanetsky [Wed, 23 Apr 2003 02:37:29 +0000 (02:37 +0000)]
emalloc -> safe_emalloc

21 years ago&039; which is a single-quote may also come in as &39; I see no reason
Rasmus Lerdorf [Tue, 22 Apr 2003 20:44:55 +0000 (20:44 +0000)]
&039; which is a single-quote may also come in as &39;  I see no reason
not to handle both in html_entity_decode()

21 years agoDrop php_info_print_table_row_ex from the 4.3 branch
Sascha Schumann [Tue, 22 Apr 2003 03:27:01 +0000 (03:27 +0000)]
Drop php_info_print_table_row_ex from the 4.3 branch

21 years agoemalloc -> safe_emalloc.
Ilia Alshanetsky [Tue, 22 Apr 2003 01:38:36 +0000 (01:38 +0000)]
emalloc -> safe_emalloc.

21 years agoMFH(r-1.136): the feature is less relevant to encoding conversion indeed
Moriyoshi Koizumi [Mon, 21 Apr 2003 19:07:50 +0000 (19:07 +0000)]
MFH(r-1.136): the feature is less relevant to encoding conversion indeed

21 years agoMFH: Fixed bug #23198
foobar [Mon, 21 Apr 2003 17:53:59 +0000 (17:53 +0000)]
MFH: Fixed bug #23198

21 years agoMFH
Sascha Schumann [Mon, 21 Apr 2003 01:09:33 +0000 (01:09 +0000)]
MFH

21 years agoMFH
Sascha Schumann [Sat, 19 Apr 2003 18:35:51 +0000 (18:35 +0000)]
MFH

21 years agoMFH (pcre sanity check)
Ilia Alshanetsky [Sat, 19 Apr 2003 18:12:07 +0000 (18:12 +0000)]
MFH (pcre sanity check)

21 years agoMFH
Ilia Alshanetsky [Sat, 19 Apr 2003 18:10:58 +0000 (18:10 +0000)]
MFH

21 years agoMFH
Ilia Alshanetsky [Sat, 19 Apr 2003 17:45:55 +0000 (17:45 +0000)]
MFH

21 years agoMFH
Sascha Schumann [Sat, 19 Apr 2003 17:41:12 +0000 (17:41 +0000)]
MFH

21 years agoMFH: The env-var TEST_PHP_EXECUTABLE is needed in tests
Marcus Boerger [Sat, 19 Apr 2003 17:23:11 +0000 (17:23 +0000)]
MFH: The env-var TEST_PHP_EXECUTABLE is needed in tests

21 years agoMFH(r-1.135, r-1.268): made phpinfo() / gd_info() indicate availability of
Moriyoshi Koizumi [Sat, 19 Apr 2003 07:45:45 +0000 (07:45 +0000)]
MFH(r-1.135, r-1.268): made phpinfo() / gd_info() indicate availability of
JIS feature

21 years agoMFH(r-1.134): fixed help text alignment
Moriyoshi Koizumi [Sat, 19 Apr 2003 07:16:06 +0000 (07:16 +0000)]
MFH(r-1.134): fixed help text alignment

21 years agoDon't spill our (PHP) HAVE_PGSQL/MYSQL into the mnogo header(s)
Sascha Schumann [Sat, 19 Apr 2003 05:10:35 +0000 (05:10 +0000)]
Don't spill our (PHP) HAVE_PGSQL/MYSQL into the mnogo header(s)

21 years agoremove useless prototype
Sascha Schumann [Sat, 19 Apr 2003 05:09:52 +0000 (05:09 +0000)]
remove useless prototype

21 years agoadded an option to support japanese encoding conversion in bundled gd.
Rui Hirokawa [Sat, 19 Apr 2003 04:13:01 +0000 (04:13 +0000)]
added an option to support japanese encoding conversion in bundled gd.

21 years agoMFH
Ilia Alshanetsky [Fri, 18 Apr 2003 00:20:36 +0000 (00:20 +0000)]
MFH

21 years agoMFH
foobar [Thu, 17 Apr 2003 23:20:58 +0000 (23:20 +0000)]
MFH

21 years agoMFH: fix some segfaults in some pg_lo_* functions
Jay Smith [Thu, 17 Apr 2003 16:55:56 +0000 (16:55 +0000)]
MFH: fix some segfaults in some pg_lo_* functions

21 years agotouch
foobar [Thu, 17 Apr 2003 02:46:02 +0000 (02:46 +0000)]
touch

21 years agoInteger overflow stuff.
Ilia Alshanetsky [Wed, 16 Apr 2003 23:57:56 +0000 (23:57 +0000)]
Integer overflow stuff.

21 years agosafe_emalloc() and few other integer overflow fixes.
Ilia Alshanetsky [Wed, 16 Apr 2003 23:49:45 +0000 (23:49 +0000)]
safe_emalloc() and few other integer overflow fixes.

21 years agoBFN
foobar [Wed, 16 Apr 2003 23:45:11 +0000 (23:45 +0000)]
BFN

21 years agoBug fixing news.
Ilia Alshanetsky [Wed, 16 Apr 2003 23:32:20 +0000 (23:32 +0000)]
Bug fixing news.

21 years agoMFH
Ilia Alshanetsky [Wed, 16 Apr 2003 23:31:39 +0000 (23:31 +0000)]
MFH

21 years agoMFH(r-1.226, r-1.24, r-1.99, r-1.68): fixed implicit cast issue
Moriyoshi Koizumi [Wed, 16 Apr 2003 22:57:15 +0000 (22:57 +0000)]
MFH(r-1.226, r-1.24, r-1.99, r-1.68): fixed implicit cast issue

21 years agoBFN
Moriyoshi Koizumi [Wed, 16 Apr 2003 21:13:28 +0000 (21:13 +0000)]
BFN

21 years agoMFH(r-1.9): fixed bug #19795
Moriyoshi Koizumi [Wed, 16 Apr 2003 21:11:04 +0000 (21:11 +0000)]
MFH(r-1.9): fixed bug #19795

21 years agoMFH(r-1.10): fixed typo
Moriyoshi Koizumi [Wed, 16 Apr 2003 20:03:43 +0000 (20:03 +0000)]
MFH(r-1.10): fixed typo

21 years agoMFH(r-1.137): compiler warning fix & possible 64bit fix
Moriyoshi Koizumi [Wed, 16 Apr 2003 19:19:13 +0000 (19:19 +0000)]
MFH(r-1.137): compiler warning fix & possible 64bit fix

21 years agoupdate
Marcus Boerger [Wed, 16 Apr 2003 19:17:27 +0000 (19:17 +0000)]
update

21 years agosafe_emalloc()
Marcus Boerger [Wed, 16 Apr 2003 19:14:29 +0000 (19:14 +0000)]
safe_emalloc()

21 years agoMFH: prepare for safe_emalloc
Marcus Boerger [Wed, 16 Apr 2003 19:12:10 +0000 (19:12 +0000)]
MFH: prepare for safe_emalloc

21 years agoCorrecting fix for safe_emalloc
Marcus Boerger [Wed, 16 Apr 2003 18:25:35 +0000 (18:25 +0000)]
Correcting fix for safe_emalloc

21 years agoUse safe_emalloc but as macro until the function is fixed
Marcus Boerger [Wed, 16 Apr 2003 18:20:27 +0000 (18:20 +0000)]
Use safe_emalloc but as macro until the function is fixed

21 years agoMFH(r-1.136): fixed bug #23080
Moriyoshi Koizumi [Wed, 16 Apr 2003 17:32:41 +0000 (17:32 +0000)]
MFH(r-1.136): fixed bug #23080

21 years agofix two uninitialized reads
Sascha Schumann [Wed, 16 Apr 2003 13:44:05 +0000 (13:44 +0000)]
fix two uninitialized reads

21 years agoMFH
Sascha Schumann [Wed, 16 Apr 2003 13:37:54 +0000 (13:37 +0000)]
MFH

21 years agoAccessing "stream" after freeing it is not a good idea
Sascha Schumann [Wed, 16 Apr 2003 12:55:21 +0000 (12:55 +0000)]
Accessing "stream" after freeing it is not a good idea

==32692== Invalid read of size 4
==32692==    at 0x80CAFB3: _php_stream_free (/home/sas/src/php4/main/streams.c:395)
==32692==    by 0x80CE096: _php_stream_cast (/home/sas/src/php4/main/streams.c:2244)
==32692==    by 0x80CEDD4: _php_stream_open_wrapper_as_file (/home/sas/src/php4/main/streams.c:2684)
==32692==    by 0x80C1C6E: php_fopen_wrapper_for_zend (/home/sas/src/php4/main/main.c:761)
==32692==    Address 0x414487EC is 44 bytes inside a block of size 116 free'd
==32692==    at 0x401622FB: free (vg_clientfuncs.c:182)
==32692==    by 0x80DB337: _efree (/home/sas/src/php4/Zend/zend_alloc.c:265)
==32692==    by 0x80CAFAF: _php_stream_free (/home/sas/src/php4/main/streams.c:393)
==32692==    by 0x80CE096: _php_stream_cast (/home/sas/src/php4/main/streams.c:2244)

21 years agoMFH
Sascha Schumann [Wed, 16 Apr 2003 12:44:54 +0000 (12:44 +0000)]
MFH

21 years ago - MFH
Jan Lehnardt [Wed, 16 Apr 2003 12:05:43 +0000 (12:05 +0000)]
 - MFH

21 years agoMFH
Sascha Schumann [Wed, 16 Apr 2003 09:21:45 +0000 (09:21 +0000)]
MFH

21 years agoSimplify use of this header in external apps
Sascha Schumann [Wed, 16 Apr 2003 09:12:37 +0000 (09:12 +0000)]
Simplify use of this header in external apps

21 years agoadd missing check
Sascha Schumann [Wed, 16 Apr 2003 05:23:21 +0000 (05:23 +0000)]
add missing check

21 years agoMFH
foobar [Wed, 16 Apr 2003 02:24:53 +0000 (02:24 +0000)]
MFH

21 years agoMFH
foobar [Wed, 16 Apr 2003 02:19:25 +0000 (02:19 +0000)]
MFH

21 years agomissing dot. :)
foobar [Wed, 16 Apr 2003 01:52:47 +0000 (01:52 +0000)]
missing dot. :)

21 years agoBug fixing news.
Ilia Alshanetsky [Wed, 16 Apr 2003 01:08:11 +0000 (01:08 +0000)]
Bug fixing news.

21 years agoMFH
Ilia Alshanetsky [Wed, 16 Apr 2003 01:07:20 +0000 (01:07 +0000)]
MFH

21 years agoBug fixes.
Ilia Alshanetsky [Wed, 16 Apr 2003 00:59:44 +0000 (00:59 +0000)]
Bug fixes.

21 years agoMFH
Ilia Alshanetsky [Wed, 16 Apr 2003 00:58:53 +0000 (00:58 +0000)]
MFH

21 years agoBFN
foobar [Tue, 15 Apr 2003 04:27:24 +0000 (04:27 +0000)]
BFN

21 years agofix http://bugs.php.net/bug.php?id=22004
Shane Caraveo [Tue, 15 Apr 2003 04:14:21 +0000 (04:14 +0000)]
fix http://bugs.php.net/bug.php?id=22004
use Sascha's suggestion, works the same, likely better :)