#
a385cfa7 |
| 29-Jun-2020 |
Christoph M. Becker |
Fix #63208: BSTR to PHP string conversion not binary safe A `BSTR` is similar to a `zend_string`; it stores the length of the string just before the actual string, and thus the string ma
Fix #63208: BSTR to PHP string conversion not binary safe A `BSTR` is similar to a `zend_string`; it stores the length of the string just before the actual string, and thus the string may contain NUL bytes. However, `php_com_olestring_to_string()` is supposed to deal with arbitrary `OLECHAR*`s which may not be `BSTR`s, so we introduce `php_com_bstr_to_string()` and use it for the only case where we actually have to deal with `BSTR`s which may contain NUL bytes. Contrary to `php_com_olestring_to_string()` we return a `zend_string`, so we can save the re-allocation when converting to a `zval`. We also cater to `php_com_string_to_olestring()` not being binary safe, with basically the same fix we did for `php_com_olestring_to_string()`.
show more ...
|
#
dfac28f8 |
| 29-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #79756: finfo_file crash (FILEINFO_MIME)
|
#
816b4c12 |
| 29-Jun-2020 |
Christoph M. Becker |
Fix #79756: finfo_file crash (FILEINFO_MIME) If `ctime` or `asctime` return `NULL`, we must not attempt to copy the buffer, but rather return `NULL` as well. |
#
aca621cf |
| 29-Jun-2020 |
Christoph M. Becker |
Fix #79749: Converting FFI instances to bool fails Casting objects to bool is supposed to yield `true`. Since the `cast_object` handler is required now, we have to implement the `_I
Fix #79749: Converting FFI instances to bool fails Casting objects to bool is supposed to yield `true`. Since the `cast_object` handler is required now, we have to implement the `_IS_BOOL` conversion there.
show more ...
|
#
d005a8e9 |
| 29-Jun-2020 |
Xinchen Hui |
Fixed bug #79743 (Fatal error when assigning to array property with JIT enabled) simple typo |
#
43cd3f68 |
| 26-Jun-2020 |
Nikita Popov |
Fixed bug #79741 |
#
c5caa051 |
| 26-Jun-2020 |
Nikita Popov |
Fixed bug #79740 |
#
5435a4a9 |
| 24-Jun-2020 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fixed bug #79030 Use usec from apache request time
|
#
4a26628b |
| 24-Jun-2020 |
Herbert256 |
Fixed bug #79030 Use usec from apache request time Don't unnecessarily truncate to milliseconds. Closes GH-5760. |
#
18f58080 |
| 08-Jun-2020 |
Christoph M. Becker |
Convert shmop resources to opaque objects We make `shmop_close()` a NOP, and deprecate the function right away; detaching from SHM now happens when the wrapper object is freed. |
#
26aefb75 |
| 15-Apr-2020 |
Christoph M. Becker |
Fix #69804: ::getStaticPropertyValue() throws on protected props `ReflectionClass` allows reading of the values of private and protected constants, and also to get private and protected
Fix #69804: ::getStaticPropertyValue() throws on protected props `ReflectionClass` allows reading of the values of private and protected constants, and also to get private and protected static methods. Therefore getting the values of private and protected static properties is also permissible, especially since `::getStaticProperties()` already allows to do so. We also allow ::setStaticPropertyValue() to modify private and protected properties, because otherwise this method is useless, as modifying public properties can be done directly.
show more ...
|
#
ef2130db |
| 24-Jun-2020 |
Christoph M. Becker |
Fix #79487: ::getStaticProperties() ignores property modifications When retrieving the static class properties via reflection, we have to cater to possible modifications. |
#
f3cccfde |
| 23-Jun-2020 |
Christoph M. Becker |
Revert "Fix #79487: ::getStaticProperties() ignores property modifications" This reverts commit a895bb6885fbceea3e8375816969d5510d8d082e. |
#
a895bb68 |
| 23-Jun-2020 |
Christoph M. Becker |
Fix #79487: ::getStaticProperties() ignores property modifications When retrieving the static class properties via reflection, we have to cater to possible modifications. |
#
e7bbac9d |
| 23-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #55857: ftp_size on large files
|
#
e94126aa |
| 23-Jun-2020 |
Christoph M. Becker |
Fix #55857: ftp_size on large files `atol()` returns a `long` which is not the same as `zend_long` on LLP64; we use `ZEND_ATOL()` instead. There is no need for a new test case,
Fix #55857: ftp_size on large files `atol()` returns a `long` which is not the same as `zend_long` on LLP64; we use `ZEND_ATOL()` instead. There is no need for a new test case, since filesize_large.phpt already tests for that behavior; unfortunately, the FTP test suite relies on `pcntl_fork()` and therefore cannot be run on Windows.
show more ...
|
#
91982bad |
| 23-Jun-2020 |
Christoph M. Becker |
7.3 is now 7.3.21-dev |
#
525d8a8b |
| 19-Jun-2020 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fixed bug #79570
|
#
6aff9a50 |
| 19-Jun-2020 |
Böszörményi Zoltán |
Fixed bug #79570 Use the same logic for getgrgid_r, getpwnam_r and getpwuid_r as for getgrnam_r in #75696 Closes GH-5740. |
#
2f56b001 |
| 19-Jun-2020 |
Nikita Popov |
Merge branch 'PHP-7.3' into PHP-7.4
|
#
32f377b0 |
| 19-Jun-2020 |
Nikita Popov |
Fixed bug #79710 Make sure we don't use zresource after the stream has been destroyed. |
#
acdd6e59 |
| 18-Jun-2020 |
Christoph M. Becker |
Add missing NEWS entry I forgot to update NEWS after merging back then. |
#
3a0bdb72 |
| 23-Apr-2020 |
Christoph M. Becker |
Fix #63575: Root elements are not properly cloned Cloning of root elements has to preserve that property, so they require some special treatment. |
#
aa754ba8 |
| 16-Jun-2020 |
Christoph M. Becker |
FR #79344: xmlwriter_write_attribute_ns: $prefix should be nullable The `$prefix` parameter of `xmlwriter_write_element_ns()` and `xmlwriter_start_element_ns()` is nullable, what allows
FR #79344: xmlwriter_write_attribute_ns: $prefix should be nullable The `$prefix` parameter of `xmlwriter_write_element_ns()` and `xmlwriter_start_element_ns()` is nullable, what allows these functions to be used instead of their non NS variants. Consequently, we make the `$prefix` parameter of `xmlwriter_write_attribute_ns()` and `xmlwriter_start_attribute_ns()` nullable as well.
show more ...
|
#
59e343c7 |
| 13-Jun-2020 |
Christoph M. Becker |
Merge branch 'PHP-7.3' into PHP-7.4 * PHP-7.3: Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes
|