History log of /PHP-8.3/ext/soap/soap.c (Results 1 – 25 of 619)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 2dbc6056 06-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-16256: Assertion failure in ext/soap/php_encoding.c:460


# 922b9d67 06-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16256: Assertion failure in ext/soap/php_encoding.c:460

The class map must be an associative array, not a packed array.

Closes GH-16269.

# eb02ad08 05-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-16237: Segmentation fault when cloning SoapServer


# 809a58bc 05-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16237: Segmentation fault when cloning SoapServer

Bisect points to 94ee4f9, however this only reveals the problem.
Cloning an object on a lower branch and trying to call its metho

Fix GH-16237: Segmentation fault when cloning SoapServer

Bisect points to 94ee4f9, however this only reveals the problem.
Cloning an object on a lower branch and trying to call its methods
crashes as well. Cloning the object shouldn't be possible in the first
place because there's an engine constraint that when we have a new
object handler we should also have a clone handler. This constraint is
not fulfilled here.

Closes GH-16245.

show more ...

# 1d563408 07-Aug-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Revert "Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)"


# 28290655 07-Aug-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Revert "Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)"

This reverts commit 476706165a227ea6b1d73299b9b6486a6ca073a9.

Although the fix is co

Revert "Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)"

This reverts commit 476706165a227ea6b1d73299b9b6486a6ca073a9.

Although the fix is correct, people are relying on the bug and their
code stopped working, see GH-15252.

show more ...

# e681d933 05-Aug-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix SoapFault property destruction


# 11fbe880 05-Aug-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix SoapFault property destruction

Two issues:
1) We should not modify the object when we pass invalid values
2) We should reset the properties to their default value otherwise we

Fix SoapFault property destruction

Two issues:
1) We should not modify the object when we pass invalid values
2) We should reset the properties to their default value otherwise we
get a UAF.

Regressed in df219ccf9d6be8302eef3ab6e26fd00fbd2fef71

Closes GH-15248.

show more ...

# e9b36438 16-Jun-2024 Gina Peter Banyard

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
ext/soap: Fix memory leaks when calling SoapFault::__construct() twice


# df219ccf 16-Jun-2024 Gina Peter Banyard

ext/soap: Fix memory leaks when calling SoapFault::__construct() twice

# d11a3c65 01-Jun-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)


# 47670616 01-Jun-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)

There's a hash table that maps type names to class name, but names with
a leading backslash are no

Fix bug #69280: SoapClient classmap doesn't support fully qualified class name (#14398)

There's a hash table that maps type names to class name, but names with
a leading backslash are not supported. The engine has logic to strip
away the leading backslash that we should replicate here.

It works by checking if we need to make an actual copy in case an
unexpected (e.g. invalid data or leading backslash) situations are
detected. Upon making a copy we normalize the data in the table.

Furthermore, previously the code assumed that the key was always valid
and that the structure was a non-packed hash table. This isn't
necessarily the case. The new code fixes this as well.

Closes GH-14398.

show more ...

# cac4290f 31-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix memory leaks with string function name lookups


# 18233e0f 31-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix memory leaks with string function name lookups

There's a few leaks where the string is copied for lowercasing but not released.
Where possible, use the _lc functionality of zend_hash

Fix memory leaks with string function name lookups

There's a few leaks where the string is copied for lowercasing but not released.
Where possible, use the _lc functionality of zend_hash to do the lookup
to avoid the leaks that currently exist with the manual lowercasing.

Closes GH-14390.

show more ...

# 2b1097a8 31-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix reading zlib ini settings in ext-soap
Fix memory leak if calling SoapServer::setClass() twice
Fix memory leak if calling

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix reading zlib ini settings in ext-soap
Fix memory leak if calling SoapServer::setClass() twice
Fix memory leak if calling SoapServer::setObject() twice
Fix missing error restore code in ext-soap (#14379)
Fix GH-14368: Test failure in ext/session/tests/gh13856.phpt (#14378)

show more ...


# 89c4db9c 30-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix reading zlib ini settings in ext-soap

zend_ini_long() actually expects the length without the NUL byte, but
we're passing the length *with* the NUL byte. This mess can actually be

Fix reading zlib ini settings in ext-soap

zend_ini_long() actually expects the length without the NUL byte, but
we're passing the length *with* the NUL byte. This mess can actually be
avoided altogether by using INI_INT, so use that instead.

Closes GH-14382.

show more ...

# 23912f55 30-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix memory leak if calling SoapServer::setClass() twice

Closes GH-14381.

# 51bb9c2c 30-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix memory leak if calling SoapServer::setObject() twice

Closes GH-14380.

# 6aa66e08 31-May-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix missing error restore code in ext-soap (#14379)

The begin and end macros should be paired, but some of the end macro
calls were missing.

# d5ad7510 08-Jun-2023 George Peter Banyard

More usage of known zend_str instead of C string (#11381)

# 9d5f2f13 20-Mar-2023 Ilija Tovilo

Use new ZSTR_INIT_LITERAL macro (#10879)

# 7936c808 23-Jan-2023 Máté Kocsis

Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)

# d758f586 13-Oct-2022 Christoph M. Becker

Merge branch 'PHP-8.2'

* PHP-8.2:
Fix GH-9720: Null pointer dereference while serializing the response


# aba82c74 13-Oct-2022 Christoph M. Becker

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix GH-9720: Null pointer dereference while serializing the response


# 24c29708 13-Oct-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-9720: Null pointer dereference while serializing the response


12345678910>>...25