aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2020-02-11 08:36:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2020-02-11 08:36:22 +0000
commitdfcf1948889bc77fbdbde9d432cc0915f4b4fe3b (patch)
tree4478f82fc3602bbe1f440edf7eb6912141b16471 /ports-mgmt/pkg/files
parent4db225500eccbde4ac81f0cd944f17a7d6f6c784 (diff)
downloadports-dfcf1948889bc77fbdbde9d432cc0915f4b4fe3b.tar.gz
ports-dfcf1948889bc77fbdbde9d432cc0915f4b4fe3b.zip
Notes
Diffstat (limited to 'ports-mgmt/pkg/files')
-rw-r--r--ports-mgmt/pkg/files/patch-libfetch31
1 files changed, 0 insertions, 31 deletions
diff --git a/ports-mgmt/pkg/files/patch-libfetch b/ports-mgmt/pkg/files/patch-libfetch
deleted file mode 100644
index 162a61b1a469..000000000000
--- a/ports-mgmt/pkg/files/patch-libfetch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/external/libfetch/fetch.c b/external/libfetch/fetch.c
-index 47c03a79..df5d5547 100644
---- external/libfetch/fetch.c
-+++ external/libfetch/fetch.c
-@@ -332,6 +332,8 @@ fetch_pctdecode(char *dst, const char *src, size_t dlen)
- }
- if (dlen-- > 0)
- *dst++ = c;
-+ else
-+ return (NULL);
- }
- return (s);
- }
-@@ -381,11 +383,15 @@ fetchParseURL(const char *URL)
- if (p && *p == '@') {
- /* username */
- q = fetch_pctdecode(u->user, URL, URL_USERLEN);
-+ if (q == NULL)
-+ goto ouch;
-
- /* password */
-- if (*q == ':')
-+ if (*q == ':') {
- q = fetch_pctdecode(u->pwd, q + 1, URL_PWDLEN);
--
-+ if (q == NULL)
-+ goto ouch;
-+ }
- p++;
- } else {
- p = URL;