diff options
Diffstat (limited to 'net-ftp/lukemftp/files/lukemftp-1.5-pasv-overflow.patch')
-rw-r--r-- | net-ftp/lukemftp/files/lukemftp-1.5-pasv-overflow.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/net-ftp/lukemftp/files/lukemftp-1.5-pasv-overflow.patch b/net-ftp/lukemftp/files/lukemftp-1.5-pasv-overflow.patch deleted file mode 100644 index 73ad3ca935f9..000000000000 --- a/net-ftp/lukemftp/files/lukemftp-1.5-pasv-overflow.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- src/ftp.c -+++ src/ftp.c -@@ -454,9 +454,10 @@ - if (dig > 4 && pflag == 1 && isdigit(c)) - pflag = 2; - if (pflag == 2) { -- if (c != '\r' && c != ')') -- *pt++ = c; -- else { -+ if (c != '\r' && c != ')') { -+ if (pt < &pasv[sizeof(pasv) - 1]) -+ *pt++ = c; -+ } else { - *pt = '\0'; - pflag = 3; - } |