Commit Graph

128589 Commits

Author SHA1 Message Date
Máté Kocsis
e7c30c059c
Declare ext/ldap constants in stubs (#8717) 2022-06-06 21:30:10 +02:00
Máté Kocsis
7d6ce85aa9
Declare ext/com_dotnet constants in stubs (#8675) 2022-06-06 15:56:24 +02:00
Máté Kocsis
deabd5a442
Declare ext/gmp constants in stubs (#8704)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-06-06 14:38:03 +02:00
Máté Kocsis
7e6301cd31
Declare ext/iconv constants in stubs (#8714) 2022-06-06 14:16:47 +02:00
Máté Kocsis
e7d482d896
Declare ext/imap constants in stubs (#8715) 2022-06-06 13:08:32 +02:00
Máté Kocsis
34b1010abc
Merge branch 'PHP-8.1'
* PHP-8.1:
  Add missing EXTENSIONS section to new test
2022-06-06 12:21:57 +02:00
Máté Kocsis
f17a8a5aed
Add missing EXTENSIONS section to new test 2022-06-06 12:21:25 +02:00
Máté Kocsis
c5ffa0a1a7
Declare ext/json constants in stubs (#8716) 2022-06-06 12:13:12 +02:00
Máté Kocsis
7c2d1fda4a
Add missing SKIPIF section to new test 2022-06-06 12:05:49 +02:00
Ilija Tovilo
3f557ebd77
Revert "JIT: Add IBT support (#8636)"
This reverts commit c1fcd45eeb.

Closes GH-8711
2022-06-06 11:59:26 +02:00
Dmitry Stogov
7451b8b6b0 Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix memory leak
2022-06-06 11:38:37 +03:00
Dmitry Stogov
74744f3c0d Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix memory leak
2022-06-06 11:38:29 +03:00
Dmitry Stogov
088e5677fb Fix memory leak
This fixes oss-fuzz #47791
2022-06-06 11:35:01 +03:00
Dmitry Stogov
faf3410957 Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix type inference
2022-06-06 11:14:33 +03:00
Dmitry Stogov
b86c6245cc Fix type inference
This fixes oss-fuzz #47777
2022-06-06 11:13:53 +03:00
Stanislav Malyshev
70d03423c7 Merge branch 'PHP-8.1' 2022-06-06 01:11:49 -06:00
Stanislav Malyshev
98e1291b7e Merge branch 'PHP-8.0' into PHP-8.1 2022-06-06 01:11:44 -06:00
Stanislav Malyshev
e864cb61a7 Merge branch 'PHP-7.4' into PHP-8.0 2022-06-06 01:11:13 -06:00
Stanislav Malyshev
d1be9369ad Update NEWS 2022-06-06 01:00:38 -06:00
Stanislav Malyshev
58006537fc Fix bug #81719: mysqlnd/pdo password buffer overflow 2022-06-06 00:56:51 -06:00
Christoph M. Becker
55f6895f4b Fix #81720: Uninitialized array in pg_query_params() leading to RCE
We must not free parameters which we haven't initialized yet.

We also fix the not directly related issue, that we checked for the
wrong value being `NULL`, potentially causing a segfault.
2022-06-06 00:34:23 -06:00
Máté Kocsis
b2ed625de1
A few cleanup changes for gen_stub.php 2022-06-06 07:43:56 +02:00
Máté Kocsis
debd38f851 Add support for sensitive parameters in stubs 2022-06-04 18:15:05 +02:00
Tim Düsterhus
49951165f0 Add zend_mark_function_parameter_as_sensitive() 2022-06-04 18:15:05 +02:00
Ben Ramsey
d9de36398c
[ci skip] add example build commands to RM documentation 2022-06-04 10:04:16 -05:00
Máté Kocsis
4976483960
Declare ext/ftp constants in stubs (#8703) 2022-06-04 11:59:37 +02:00
Máté Kocsis
fd049e8385
Declare ext/filter constants in stubs (#8702) 2022-06-04 11:40:54 +02:00
Máté Kocsis
59ae6a9ff3
Declare HASH_HMAC in stubs 2022-06-04 11:22:44 +02:00
Máté Kocsis
d457519b65
Declare ext/fileinfo constants in stubs (#8701) 2022-06-04 10:22:09 +02:00
Máté Kocsis
413cbdf72f
Declare FFI::__BIGGEST_ALIGNMENT__ in stubs as well 2022-06-04 09:59:29 +02:00
Máté Kocsis
d476da7818
Declare ext/ffi constants in stubs (#8695) 2022-06-04 09:51:27 +02:00
David Carlier
271b723915 Merge branch 'PHP-8.1' 2022-06-03 15:15:46 +01:00
David Carlier
4a1c50b9be Merge branch 'PHP-8.0' into PHP-8.1 2022-06-03 15:15:30 +01:00
Yurun
bfe63f565f Fix dblib ghtest8626 test.
Follow-up of GH-8628.
Closes GH-9694.
2022-06-03 15:12:09 +01:00
David Carlier
0b6f58d907 Merge branch 'PHP-8.1' 2022-06-03 08:05:13 +01:00
David Carlier
7f70911cbe Merge branch 'PHP-8.0' into PHP-8.1 2022-06-03 08:04:58 +01:00
David Carlier
0a47fdf538 Revert "Fix detection of unknown gcc function attributes"
This reverts commit 813d942bac.
2022-06-03 08:04:07 +01:00
Remi Collet
5b2e413e89
Merge branch 'PHP-8.1'
* PHP-8.1:
  NEWS for GH-8685
  NEWS for GH-8685
  Fix GH-8685 mbstring requires pcre
2022-06-03 07:55:51 +02:00
Remi Collet
c9ec5cfd27
NEWS for GH-8685 2022-06-03 07:55:24 +02:00
Remi Collet
966a90873d
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  NEWS for GH-8685
  Fix GH-8685 mbstring requires pcre
2022-06-03 07:54:58 +02:00
Remi Collet
ae8c2bc1ce
NEWS for GH-8685 2022-06-03 07:54:36 +02:00
Remi Collet
2eb2f9d74f
Fix GH-8685 mbstring requires pcre 2022-06-03 07:53:48 +02:00
David Carlier
e17fd1f2d9 Merge branch 'PHP-8.1' 2022-06-02 21:11:43 +01:00
David Carlier
ba5efbdf17 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-02 21:11:22 +01:00
Athos Ribeiro
813d942bac Fix detection of unknown gcc function attributes
As described in autoconf-archive upstream [1], from where
`build/ax_gcc_func_attribute.m4` is forked, the old unknown func attr
detection method would throw a false negative anytime an unrelated
warning was raised.

This results in `ax_cv_have_func_attribute_target` being set to `no`
whenever certain compiler Warning flags are switched on. Namely, having
`-Wall` on, which is a default CFLAG for some linux distributions, will
result in

```
warning: ‘bar’ declared ‘static’ but never defined [-Wunused-function]
```

when evaluating support for the `target` function attribute.

With that configuration value set to `no`, the compiled php binaries
will not support x86_64 v3 instructions such as avx2 and sse2, which
should speed up specific tasks ran by PHP.

This issue was originally reported in Ubuntu [2].

[1] http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=df0894ad1a8195df67a52108b931e07d708cec9a
[2] https://bugs.launchpad.net/ubuntu/+source/php8.1/+bug/1882279
Closes GH-8483.
2022-06-02 21:09:09 +01:00
David Carlier
59503c0518 Merge branch 'PHP-8.1' 2022-06-02 17:36:02 +01:00
David Carlier
0f428ae240 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-02 17:35:45 +01:00
Yurun
df52903ee0 Closes GH-8626: Fix PDOStatement->execute() failed.
Then execute successfully, errorInfo() information is incorrect
2022-06-02 17:32:43 +01:00
Sam
2ce2aff50e
Better return types for getBackingType (#8687)
The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamedType.

See also https://github.com/php/doc-en/pull/1608

Closes GH-8687
2022-06-02 18:13:21 +02:00
Christoph M. Becker
eb022f8071
Merge branch 'PHP-8.1'
* PHP-8.1:
  Fix test to require PDO_Firebird
2022-06-02 16:25:40 +02:00