diff options
author | Sara Golemon <pollita@php.net> | 2003-01-27 19:51:50 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2003-01-27 19:51:50 +0000 |
commit | d0cb097c52da5034c4d93098e05f29e38fcf5325 (patch) | |
tree | 783a68a9d5cf09cb8bf84cf221bae1302b06ba81 /ext/ftp/ftp.h | |
parent | 9bb3dc6903a98873a722ce914535d8a2fdc225d5 (diff) | |
download | php-git-d0cb097c52da5034c4d93098e05f29e38fcf5325.tar.gz |
Fix potential buffer overflow.
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r-- | ext/ftp/ftp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h index 35bf12bffb..19233a5d6c 100644 --- a/ext/ftp/ftp.h +++ b/ext/ftp/ftp.h @@ -136,7 +136,7 @@ char* ftp_mkdir(ftpbuf_t *ftp, const char *dir); int ftp_rmdir(ftpbuf_t *ftp, const char *dir); /* Set permissions on a file */ -int ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename); +int ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filename_len); /* returns a NULL-terminated array of filenames in the given path * or NULL on error. the return array must be freed (but don't |