#
0a51e75e |
| 01-Sep-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #75696: posix_getgrnam fails to print details of group
|
#
7bcda659 |
| 01-Sep-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.1' into PHP-7.2 * PHP-7.1: Fix #75696: posix_getgrnam fails to print details of group
|
#
2677d438 |
| 24-Aug-2018 |
Christoph M. Becker |
Fix #75696: posix_getgrnam fails to print details of group According to the POSIX specification of `getgrnam_r()` the result of `sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value sugges
Fix #75696: posix_getgrnam fails to print details of group According to the POSIX specification of `getgrnam_r()` the result of `sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value suggested for the size of the buffer, and `ERANGE` signals that insufficient storage was supplied. So if we get `ERANGE`, we try again with a buffer twice as big, and so on, instead of failing.
show more ...
|
#
bcfe5f58 |
| 01-Sep-2018 |
Anatol Belski |
[ci skip] Update NEWS |
#
c5231ad3 |
| 30-Aug-2018 |
Christoph M. Becker |
Fix #76820: Z_COPYABLE invalid definition We remove the extraneous parenthesis. |
#
cc635684 |
| 30-Aug-2018 |
Remi Collet |
NEWS for #76818 |
#
5fee4e71 |
| 29-Aug-2018 |
Sara Golemon |
Prep for 7.1.23 |
#
d21220d7 |
| 29-Aug-2018 |
Anatol Belski |
Update NEWS |
#
ce201df4 |
| 28-Aug-2018 |
Christoph M. Becker |
[ci skip] Update NEWS wrt. php-7.3.0beta3 tagging |
#
7353dae8 |
| 28-Aug-2018 |
Remi Collet |
bump to 7.2.11-dev |
#
4d6b0b50 |
| 26-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #68180: iconv_mime_decode can return extra characters in a header
|
#
20849b0b |
| 26-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.1' into PHP-7.2 * PHP-7.1: Fix #68180: iconv_mime_decode can return extra characters in a header
|
#
efb86aef |
| 26-Aug-2018 |
Christoph M. Becker |
Fix #68180: iconv_mime_decode can return extra characters in a header Basically, the algorithm to append a converted string to an existing `smart_str` works by increasing the `smart_str`
Fix #68180: iconv_mime_decode can return extra characters in a header Basically, the algorithm to append a converted string to an existing `smart_str` works by increasing the `smart_str` buffer, to let `iconv` convert characters until there is no more space, to set the new length of the `smart_str` and to repeat until there is no more input. Formerly, the new length calculation has been wrong, though, since we would have to take the old `out_len` into account (`buf_growth - old_out_len - out_len`). However, since there is no need to take the old `out_len` into account when increasing the `smart_str` buffer, we can simplify the fix, avoiding an additional variable.
show more ...
|
#
b5afc99a |
| 25-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #60494: iconv_mime_decode does ignore special characters
|
#
314b8ecf |
| 25-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.1' into PHP-7.2 * PHP-7.1: Fix #60494: iconv_mime_decode does ignore special characters
|
#
e29c946c |
| 25-Aug-2018 |
Christoph M. Becker |
Fix #60494: iconv_mime_decode does ignore special characters We must not ignore erroneous characters in mime headers, but rather let iconv_mime_decode() fail in this case, issuing the us
Fix #60494: iconv_mime_decode does ignore special characters We must not ignore erroneous characters in mime headers, but rather let iconv_mime_decode() fail in this case, issuing the usual notice regarding illegal characters.
show more ...
|
#
065eee16 |
| 25-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #63839: iconv_mime_decode_headers function is skipping headers
|
#
7e176ddb |
| 25-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.1' into PHP-7.2 * PHP-7.1: Fix #63839: iconv_mime_decode_headers function is skipping headers
|
#
8754d441 |
| 12-Aug-2018 |
Christoph M. Becker |
Fix #63839: iconv_mime_decode_headers function is skipping headers We have to cater to the possibility that `=?` is not the start of an encoded-word, but rather a literal `=?`. If a lin
Fix #63839: iconv_mime_decode_headers function is skipping headers We have to cater to the possibility that `=?` is not the start of an encoded-word, but rather a literal `=?`. If a line break is found while we're still looking for the charset, we can safely assume that it's a literal `=?`, and act accordingly.
show more ...
|
#
50fec3be |
| 25-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #55146: iconv_mime_decode_headers() skips some headers
|
#
6922cae4 |
| 25-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.1' into PHP-7.2 * PHP-7.1: Fix #55146: iconv_mime_decode_headers() skips some headers
|
#
6e1980e1 |
| 12-Aug-2018 |
Christoph M. Becker |
Fix #55146: iconv_mime_decode_headers() skips some headers If we're expecting the start of an encoded word (`=?`), but instead of the question mark get a line break (CR or LF), we must n
Fix #55146: iconv_mime_decode_headers() skips some headers If we're expecting the start of an encoded word (`=?`), but instead of the question mark get a line break (CR or LF), we must not append it to the `pretval`.
show more ...
|
#
eb032907 |
| 12-Aug-2018 |
Christoph M. Becker |
Fix #53891: iconv_mime_encode() fails to Q-encode UTF-8 string The minimum length of an encoded-word is actually the pure encoding overhead plus the length of the `output-charset` plus t
Fix #53891: iconv_mime_encode() fails to Q-encode UTF-8 string The minimum length of an encoded-word is actually the pure encoding overhead plus the length of the `output-charset` plus the minimum unit of encoded text, which is 4 for B-encoding and (for simplicity) 3 for Q-encoding. We also cater to the possibility that we need further encoded words, which would be split by the `line-break-chars` followed by a space character. Obviously, the former `out_charset_len + 12` is too simplistic and wrong in the given case (where the magic number would be 13). These simplifications are somewhat wasteful, but iconv_mime_encode() with Q-encoding is wasteful anyway (see bug 66828[1]), and the proper solution to convert the whole input to the desired output charset upfront, and applying the encoding afterwards appears too much a change for the stable releases. [1] <https://bugs.php.net/66828>
show more ...
|
#
692e5d5c |
| 07-Aug-2018 |
Christoph M. Becker |
Fix #76712: Assignment of empty string creates extraneous text node We work around this peculiarity of libxml by using xmlNodeSetContent(), which does not exhibit this behavior. This al
Fix #76712: Assignment of empty string creates extraneous text node We work around this peculiarity of libxml by using xmlNodeSetContent(), which does not exhibit this behavior. This also saves us from manually calculating the string length.
show more ...
|
#
3278b334 |
| 22-Aug-2018 |
Christoph M. Becker |
Merge branch 'PHP-7.2' into PHP-7.3 * PHP-7.2: Fix #68825: Exception in DirectoryIterator::getLinkTarget()
|