mirror of
https://github.com/php/php-src.git
synced 2024-12-01 05:43:38 +08:00
Fix null deref found by Michael Maclean
This commit is contained in:
parent
18f32db810
commit
99f469f707
@ -1699,7 +1699,7 @@ ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t typ
|
||||
char arg[11];
|
||||
|
||||
if (ftp == NULL) {
|
||||
goto bail;
|
||||
return PHP_FTP_FAILED;
|
||||
}
|
||||
|
||||
if (!ftp_type(ftp, type)) {
|
||||
|
Loading…
Reference in New Issue
Block a user