Derick Rethans
f3441c832f
Merge branch 'PHP-8.1'
2022-05-26 15:19:34 +01:00
Derick Rethans
a04eccb294
Merge branch 'PHP-8.0' into PHP-8.1
2022-05-26 15:19:27 +01:00
Derick Rethans
209ea3ffc7
Fixed tests
2022-05-26 14:30:22 +01:00
Derick Rethans
2dcd82162e
Fixed bug #72963 (Null-byte injection in CreateFromFormat and related functions)
2022-05-26 13:49:51 +01:00
Derick Rethans
dfd1d7a531
Fixed bug #76963 (Null-byte injection in createFromFormat)
2022-05-26 13:49:51 +01:00
Máté Kocsis
0acf77e21c
Properly fix tidy test failure on Windows
2022-05-26 12:54:01 +02:00
Máté Kocsis
eb0a3da219
Quick fix test failure on Windows
2022-05-26 10:52:40 +02:00
Máté Kocsis
df98edbf95
Test tidy::$value when not null
2022-05-26 09:48:07 +02:00
Máté Kocsis
aeb4acacec
Declare tidyNode properties as readonly
2022-05-26 08:26:16 +02:00
Máté Kocsis
768d00f83b
Declare tidy properties
2022-05-26 08:26:16 +02:00
Máté Kocsis
84cd2a9047
Add some stub related todo comments
2022-05-25 13:24:11 +02:00
Alex Dowad
8b70a7db4f
Merge branch 'PHP-8.1'
...
* PHP-8.1:
mb_detect_encoding recognizes all letters in Hungarian alphabet
2022-05-25 13:10:23 +02:00
Máté Kocsis
facddfdccb
Declare ext/calendar constants in stubs ( #8630 )
2022-05-25 12:11:15 +02:00
Alex Dowad
58d0aad75c
mb_detect_encoding recognizes all letters in Hungarian alphabet
2022-05-25 08:22:07 +02:00
Alex Dowad
212b31b51c
Merge branch 'PHP-8.1'
...
* PHP-8.1:
mb_detect_encoding recognizes all letters in Czech alphabet
2022-05-25 07:53:39 +02:00
Alex Dowad
6a4b6d2344
mb_detect_encoding recognizes all letters in Czech alphabet
2022-05-25 07:52:39 +02:00
Jihwan Kim
af20923a0f
Fix datetime format string to follow POSIX spec in ftp_mdtm()
...
Closes GH-8259
2022-05-24 19:23:47 -05:00
Arnaud Le Blanc
e883407083
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Disable zend_rc_debug during dtor of dl()'ed module (#8606 )
2022-05-24 19:23:48 +02:00
Arnaud Le Blanc
6cda01a05c
Disable zend_rc_debug during dtor of dl()'ed module ( #8606 )
...
Newly added dl() tests trigger an assertion in ZEND_RC_DEBUG builds. This change
disables zend_rc_debug to allows these tests to pass until this issue is
resolved.
2022-05-24 19:22:55 +02:00
Alex Dowad
83db088fc2
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix mb_detect_encoding's recognition of Slavic names
2022-05-24 15:33:24 +02:00
Alex Dowad
9bb97ee8bc
Fix mb_detect_encoding's recognition of Slavic names
...
Thanks to Côme Chilliet for reporting that mb_detect_encoding was not
detecting the desired text encoding for strings containing š or Ž.
These characters are used in Czech, Serbian, Croatian, Bosnian,
Macedonian, etc. names.
2022-05-24 15:32:20 +02:00
Christoph M. Becker
6c1ea04b9a
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix pcntl Haiku build
2022-05-24 15:02:12 +02:00
Christoph M. Becker
5017240ccc
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix pcntl Haiku build
2022-05-24 15:00:47 +02:00
David Carlier
e33de9dda8
Fix pcntl Haiku build
...
guarding SIGIO constant.
Closes GH-8612.
2022-05-24 14:59:50 +02:00
Christoph M. Becker
06c3f9b043
Use proper cast
...
Casting to `void**` silences the compiler, but only works because that
is dereferenced to a generic `void*`.
2022-05-24 14:52:32 +02:00
Michael Voříšek
fb1c7eff04
Fix some level 1 MSVC compiler warnings on x86
...
See GH-8479.
2022-05-24 13:05:16 +02:00
George Peter Banyard
9f06bb3bb6
Drop remaining usage of u_char in favour of standard C99 uint8_t ( #8611 )
...
Plus minor drive-by fixes
2022-05-23 21:57:31 +01:00
George Peter Banyard
59b4fdbb2b
Use standard C99 uint8_t type instead of u_char type for crypt_freesec ( #8610 )
2022-05-23 19:06:41 +01:00
Christoph M. Becker
08d1593c7d
Merge branch 'PHP-8.1'
...
* PHP-8.1:
Fix GH-8538: SoapClient may strip parts of nmtokens
2022-05-23 16:53:16 +02:00
Christoph M. Becker
ee9a3fa762
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-8538: SoapClient may strip parts of nmtokens
2022-05-23 16:51:32 +02:00
Christoph M. Becker
2a13304b2e
Fix GH-8538: SoapClient may strip parts of nmtokens
...
When stripping the namespace prefix, we can assume that this does not
contain any colons, while the rest of the name may contain colons.
Hence we must not use `strrchr()` but rather `strchr()` instead.
Closes GH-8543.
2022-05-23 16:49:12 +02:00
Dmitry Stogov
f135ed9a8a
Fix memory leak
...
This fixes oss-fuzz #47527
2022-05-23 13:33:20 +03:00
David Carlier
45e623da26
libmagic: use php_memnstr instead of memmem
...
Closes GH-8391.
2022-05-23 10:57:44 +02:00
Ilija Tovilo
85d41da32a
Merge branch 'PHP-8.1'
...
* PHP-8.1:
[skip ci] Add NEWS entry
Fix undefined behavior in php_set_inet6_addr
Reduce the scope of XFAIL (#8592 )
2022-05-22 23:29:53 +02:00
Ilija Tovilo
7a2747ba78
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix undefined behavior in php_set_inet6_addr
Reduce the scope of XFAIL (#8592 )
2022-05-22 23:27:47 +02:00
Ilija Tovilo
f0480eb4de
Fix undefined behavior in php_set_inet6_addr
...
Postfix `++` on `NULL` is undefined behavior
Closes GH-8607
2022-05-22 23:23:47 +02:00
Máté Kocsis
14da1cb909
Add support for class constants in stubs ( #7434 )
2022-05-22 22:27:23 +02:00
George Peter Banyard
265c88b9e7
Don't initialise pointers to zend_stat_t
2022-05-22 16:13:44 +01:00
George Peter Banyard
2ecd46f48f
Initialise zend_stat_t to fix MSAN build
2022-05-22 16:06:27 +01:00
David Carlier
2410e378c1
Add SO_MEMINFO socket option for gathering socket related info
2022-05-20 22:06:53 +01:00
Arnaud Le Blanc
c12141c860
Reduce the scope of XFAIL ( #8592 )
2022-05-20 19:11:00 +02:00
George Peter Banyard
862ef7a332
Fix test expectation for date bug 81565
2022-05-20 14:29:46 +01:00
Christoph M. Becker
33fc9e5a77
Build ext/zip as shared library by default on Windows
...
This allows users to use PECL/zip, which is well maintained and often
brings new features which are not yet available in ext/zip, as drop-in
replacement for the official Windows php-src builds.
Closes GH-8549.
2022-05-20 14:31:32 +02:00
Derick Rethans
7fedb43f15
Merge branch 'PHP-8.1'
2022-05-20 13:25:43 +01:00
Derick Rethans
008016b536
Fixed bug #81565 (date parsing fails when provided with timezones including seconds)
2022-05-20 13:18:43 +01:00
Derick Rethans
78d5076b25
Fixed bug #51987 (Datetime fails to parse an ISO 8601 ordinal date (extended format))
2022-05-20 13:18:43 +01:00
Derick Rethans
23dbefdb7b
Fixed bug #51934 (strtotime plurals / incorrect time)
2022-05-20 13:18:43 +01:00
Derick Rethans
20d8c1bea5
Fixed bug #68549 (Timezones and offsets are not properly used when working with dates)
2022-05-20 13:18:43 +01:00
Derick Rethans
ee2776210b
Fixed bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH)
2022-05-20 13:18:43 +01:00
Derick Rethans
ef55bf7149
Fixed bug GH-7758 (Problems with negative timestamps and fractions)
2022-05-20 13:18:42 +01:00