History log of /php-src/NEWS (Results 3626 – 3650 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 5161cebe 16-Jul-2019 Nikita Popov

Fix bug #52752 by not using mmap() to lex files

Using mmap() is unsafe under concurrent modification. If the file
is truncated, access past the end of the file may occur, which will

Fix bug #52752 by not using mmap() to lex files

Using mmap() is unsafe under concurrent modification. If the file
is truncated, access past the end of the file may occur, which will
generate a SIGBUS error. Even if the length does not change, the
contents may, which is a situation that the lexer certainly is not
prepared to deal with either.

Reproduce with test.php:

<?php
file_put_contents(__DIR__ . '/test.tpl',
'AAA<?php $string = "' .
str_repeat('A', mt_rand(1, 256 * 1024)) .
'"; ?>BBB' . "\r\n");
require_once __DIR__ . '/test.tpl';

And:

for ((n=0;n<100;n++)); do sapi/cli/php test.php & done

show more ...

# 956ecc2c 16-Jul-2019 Christoph M. Becker

Update NEWS [ci skip]

# bd051491 16-Jul-2019 Remi Collet

move NEWS entry [ci skip]

# eea9d617 16-Jul-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# 8a19fe29 16-Jul-2019 Nikita Popov

Fixed bug #78297

# c9037421 16-Jul-2019 Remi Collet

next is 7.2.22

# c5f1b384 15-Jul-2019 Nikita Popov

Move shebang handling into the lexer

Instead of handling shebang lines by adjusting the file pointer in
individual SAPIs, move the handling into the lexer, where this is
both a lot s

Move shebang handling into the lexer

Instead of handling shebang lines by adjusting the file pointer in
individual SAPIs, move the handling into the lexer, where this is
both a lot simpler and more robust. Whether the shebang should be
skipped is controlled by CG(skip_shebang) -- we might want to do
that in more cases.

This fixed bugs #60677 and #78066.

show more ...

# 2d737a1e 15-Jul-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# 88ffe057 25-Jun-2019 Nikita Popov

Fix bug #77124

This is a backport of 6fcae63f614d1ed4aaeaff7b13a7a4627b1f1312
to PHP 7.2.

# ad48464e 15-Jul-2019 Remi Collet

typo [ci skip]

# a7ff3a64 15-Jul-2019 Remi Collet

Fix #78269 password_hash uses weak options for argon2

# eab0079c 15-Jul-2019 Remi Collet

Fix #78269 password_hash uses weak options for argon2

# 7556600d 15-Jul-2019 Christoph M. Becker

Fix #65547: Default value for sunrise/sunset zenith still wrong

The value of the zenith angle to calculate sunrise and sunset times is
commonly defined as 90°50', and is "obtained by add

Fix #65547: Default value for sunrise/sunset zenith still wrong

The value of the zenith angle to calculate sunrise and sunset times is
commonly defined as 90°50', and is "obtained by adding the average
apparent radius of the Sun (16') to the average amount of atmospheric
refraction at the horizon (34')", according to
http://aa.usno.navy.mil/faq/docs/RST_defs.php.

This value is also used for the Sunrise/Sunset Algorithm published in
the Almanac for Computers, 1990, see
https://web.archive.org/web/20161202180207/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm.

show more ...

# 3eb057c4 15-Jul-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# 768ad70f 14-Jul-2019 Andrew Collington

Fix bug #78291 Missing opcache directives

New opcache directives have been added recently which are returned
if using `ini_get_all('zend opcache')` but are not listed in the
directiv

Fix bug #78291 Missing opcache directives

New opcache directives have been added recently which are returned
if using `ini_get_all('zend opcache')` but are not listed in the
directives if using `opcache_get_configuration()`. This fix adds
those missing directives as well as if `opcache.mmap_base` is used
instead of `opcache.lockfile_path`. Also adds a test to ensure the
directives match with both methods of fetching.

show more ...

# f573ba19 13-Jul-2019 Peter Kokot

Update changelogs

- PHP-7.4 alpha, beta, RC versions already include bugs logged in the
NEWS
- some links to RFCs
- php_error_docref0

# bf242d58 13-Jul-2019 Christoph M. Becker

Fix #78282: atime and mtime mismatch

The fix for bug #78241 assumed that `time_t` would always be 64bit, but
actually is 32bit for x86. We therefore enforce 64bit arithmetic to
avoi

Fix #78282: atime and mtime mismatch

The fix for bug #78241 assumed that `time_t` would always be 64bit, but
actually is 32bit for x86. We therefore enforce 64bit arithmetic to
avoid wrapping.

show more ...

# 9d141f98 12-Jul-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# 4a91f66b 12-Jul-2019 Nikita Popov

Fixed bug #78279

Even if we don't initialize the callback on every request, we
should still reset our globals to default values...

# 76783a9b 12-Jul-2019 Christoph M. Becker

Update NEWS and UPGRADING wrt. ext/recode unbundling

# 17997a90 11-Jul-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78212: Segfault in built-in webserver


# fa65f5ec 27-Jun-2019 Christoph M. Becker

Fix #78212: Segfault in built-in webserver

Since syslog's ident and facility parameters have been added to
config[1], vsyslog() segfaults on Windows, if openlog() has not been
called

Fix #78212: Segfault in built-in webserver

Since syslog's ident and facility parameters have been added to
config[1], vsyslog() segfaults on Windows, if openlog() has not been
called before. We bring back the removed lines to fix this.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=2475337bd8a0fad0dac03db3f5e7e9d331d53653>

show more ...

# e7a83ec8 10-Jul-2019 Nikita Popov

Fix bug #78271

When cleaning nops in the dfa pass, we were always keeping the
smart branch inhibiting nop that occurs directly before the jump
instruction. However, as we skip unreac

Fix bug #78271

When cleaning nops in the dfa pass, we were always keeping the
smart branch inhibiting nop that occurs directly before the jump
instruction. However, as we skip unreachable blocks entirely, it
may happen that we need to keep a nop that occurs further back,
prior to the unreachable blocks. Account for that case now.

We should really do something about the smart branch situation,
this is very fragile...

show more ...

# 7404d756 09-Jul-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Upgrade to SQLite 3.28.0


# 40f7533c 09-Jul-2019 Christoph M. Becker

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Upgrade to SQLite 3.28.0


1...<<141142143144145146147148149150>>...619