mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
Merge branch 'PHP-5.6'
* PHP-5.6: NEWS NEWS Fix bug #68751 listen.allowed_clients is broken
This commit is contained in:
@@ -258,7 +258,7 @@ void fcgi_set_allowed_clients(char *ip)
|
||||
cur++;
|
||||
}
|
||||
if (allowed_clients) free(allowed_clients);
|
||||
allowed_clients = malloc(sizeof(in_addr_t) * (n+2));
|
||||
allowed_clients = malloc(sizeof(sa_t) * (n+2));
|
||||
n = 0;
|
||||
cur = ip;
|
||||
while (cur) {
|
||||
|
||||
Reference in New Issue
Block a user