mirror of
https://github.com/php/php-src.git
synced 2026-04-05 23:23:03 +02:00
Merge branch 'PHP-8.1'
* PHP-8.1: Initialize blacklist_path_length
This commit is contained in:
@@ -241,7 +241,7 @@ static void zend_accel_blacklist_loadone(zend_blacklist *blacklist, char *filena
|
||||
{
|
||||
char buf[MAXPATHLEN + 1], real_path[MAXPATHLEN + 1], *blacklist_path = NULL;
|
||||
FILE *fp;
|
||||
int path_length, blacklist_path_length;
|
||||
int path_length, blacklist_path_length = 0;
|
||||
|
||||
if ((fp = fopen(filename, "r")) == NULL) {
|
||||
zend_accel_error(ACCEL_LOG_WARNING, "Cannot load blacklist file: %s\n", filename);
|
||||
|
||||
Reference in New Issue
Block a user