diff options
Diffstat (limited to 'net-ftp/ftpd/files/ftpd-0.17+ssl-0.3-overflowpatch.diff')
-rw-r--r-- | net-ftp/ftpd/files/ftpd-0.17+ssl-0.3-overflowpatch.diff | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net-ftp/ftpd/files/ftpd-0.17+ssl-0.3-overflowpatch.diff b/net-ftp/ftpd/files/ftpd-0.17+ssl-0.3-overflowpatch.diff deleted file mode 100644 index 6290079a7062..000000000000 --- a/net-ftp/ftpd/files/ftpd-0.17+ssl-0.3-overflowpatch.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- linux-ftpd-0.17/ftpd/ftpd.c 2005-11-05 17:04:53.000000000 -0600 -+++ linux-ftpd-0.17-patched/ftpd/ftpd.c 2005-11-05 17:11:54.000000000 -0600 -@@ -2082,9 +2082,9 @@ - va_start(ap); - #endif - #ifdef USE_SSL -- /* assemble the output into a buffer */ -+ /* assemble the output into a buffer, checking for length*/ - sprintf(outputbuf,"%d ",n); -- vsprintf(outputbuf+strlen(outputbuf),fmt,ap); -+ vsnprintf(outputbuf+strlen(outputbuf),2048-(strlen(outputbuf) + 3),fmt,ap); - strcat(outputbuf,"\r\n"); - - if (ssl_debug_flag) |