mirror of
https://github.com/php/php-src.git
synced 2026-04-22 15:38:49 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix potential heap corruption
This commit is contained in:
@@ -657,7 +657,7 @@ char *sockets_strerror(int error) /* {{{ */
|
||||
}
|
||||
|
||||
SOCKETS_G(strerror_buf) = estrdup(tmp);
|
||||
LocalFree(tmp);
|
||||
free(tmp);
|
||||
|
||||
buf = SOCKETS_G(strerror_buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user