mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
c962a96c34
When the user does not fully consume the data stream, but instead opens a new one, a memory leak occurs. Moreover, the state is invalid: when more commands arrive they'll be handled out-of-sync because the state of the client does not match what the server is doing. This leads to all sorts of weirdness, for example: Warning: ftp_nb_fget(): OK. Fix it by gracefully closing the old data stream when a new data stream is started. Closes GH-11606. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
ftp_arginfo.h | ||
ftp.c | ||
ftp.h | ||
ftp.stub.php | ||
php_ftp.c | ||
php_ftp.h |