diff options
Diffstat (limited to 'net-ftp/atftp/files/atftp-0.7-pcre.patch')
-rw-r--r-- | net-ftp/atftp/files/atftp-0.7-pcre.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net-ftp/atftp/files/atftp-0.7-pcre.patch b/net-ftp/atftp/files/atftp-0.7-pcre.patch deleted file mode 100644 index 1f24b67471e2..000000000000 --- a/net-ftp/atftp/files/atftp-0.7-pcre.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- atftp-0.7/tftpd_pcre.c~ 2005-10-17 23:14:52.000000000 +0200 -+++ atftp-0.7/tftpd_pcre.c 2005-10-17 23:14:52.000000000 +0200 -@@ -211,9 +211,9 @@ - chp++; /* point to value indicating substring */ - rc = pcre_get_substring(str, ovector, matches, *chp - 0x30, &tmpstr); - /* found string */ -- if (rc > 0) -+ if (rc > 0 && outchp - outstr + rc+1 < outsize) - { -- Strncpy(outchp, tmpstr, rc); -+ Strncpy(outchp, tmpstr, rc+1); - outchp += rc; - pcre_free_substring(tmpstr); - continue; |