mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: [ci skip] NEWS Fix incorrect check in fpm_shm_free() (#13797)
This commit is contained in:
commit
81ae6064ce
1
NEWS
1
NEWS
@ -17,6 +17,7 @@ PHP NEWS
|
||||
- FPM:
|
||||
. Fixed GH-11086 (FPM: config test runs twice in daemonised mode).
|
||||
(Jakub Zelenka)
|
||||
. Fix incorrect check in fpm_shm_free(). (nielsdos)
|
||||
|
||||
- GD:
|
||||
. Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
|
||||
|
@ -50,7 +50,7 @@ int fpm_shm_free(void *mem, size_t size) /* {{{ */
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (fpm_shm_size - size > 0) {
|
||||
if (fpm_shm_size > size) {
|
||||
fpm_shm_size -= size;
|
||||
} else {
|
||||
fpm_shm_size = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user