diff --git a/fuzz/Makefile.am b/fuzz/Makefile.am
index 7ce2d843..2e0b6b9f 100644
--- a/fuzz/Makefile.am
+++ b/fuzz/Makefile.am
@@ -13,6 +13,7 @@ WGET_TESTS = \
wget_cookie_fuzzer$(EXEEXT) \
wget_ftpls_fuzzer$(EXEEXT) \
wget_html_fuzzer$(EXEEXT) \
+ wget_netrc_fuzzer$(EXEEXT) \
wget_options_fuzzer$(EXEEXT) \
wget_robots_fuzzer$(EXEEXT) \
wget_url_fuzzer$(EXEEXT)
@@ -47,6 +48,9 @@ wget_ftpls_fuzzer_LDADD = ../src/libunittest.a $(LDADD)
wget_html_fuzzer_SOURCES = wget_html_fuzzer.c $(MAIN)
wget_html_fuzzer_LDADD = ../src/libunittest.a $(LDADD)
+wget_netrc_fuzzer_SOURCES = wget_netrc_fuzzer.c $(MAIN)
+wget_netrc_fuzzer_LDADD = ../src/libunittest.a $(LDADD)
+
wget_options_fuzzer_SOURCES = wget_options_fuzzer.c $(MAIN)
wget_options_fuzzer_LDADD = ../src/libunittest.a $(LDADD)
diff --git a/fuzz/wget_netrc_fuzzer.c b/fuzz/wget_netrc_fuzzer.c
new file mode 100644
index 00000000..97d472ef
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.c
@@ -0,0 +1,100 @@
+/*
+ * Copyright(c) 2017-2018 Free Software Foundation, Inc.
+ *
+ * This file is part of GNU Wget.
+ *
+ * GNU Wget is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * GNU Wget is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Wget. If not, see .
+ */
+
+#include
+
+#include
+#include // uint8_t
+#include // fmemopen
+#include // strncmp
+#include // free
+#include // longjmp, setjmp
+
+#include "wget.h"
+#undef fopen_wgetrc
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+ #include "netrc.h"
+
+ // declarations for wget internal functions
+ int main_wget(int argc, const char **argv);
+ void cleanup(void);
+ FILE *fopen_wget(const char *pathname, const char *mode);
+ FILE *fopen_wgetrc(const char *pathname, const char *mode);
+ void exit_wget(int status);
+#ifdef __cplusplus
+ }
+#endif
+
+#include "fuzzer.h"
+
+FILE *fopen_wget(const char *pathname, const char *mode)
+{
+ return fopen("/dev/null", mode);
+}
+
+FILE *fopen_wgetrc(const char *pathname, const char *mode)
+{
+ return NULL;
+}
+
+#ifdef FUZZING
+void exit_wget(int status)
+{
+}
+#else
+void exit(int status)
+{
+}
+#endif
+
+int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
+{
+ FILE *fp, *bak;
+ struct fileinfo *fi;
+ const char *user = NULL, *pw = NULL;
+
+ if (size > 4096) // same as max_len = ... in .options file
+ return 0;
+
+ bak = stderr;
+ stderr = fopen("/dev/null", "w");
+
+ fp = fmemopen((void *) data, size, "r");
+ if (!fp) return 0;
+
+ opt.netrc = 1;
+
+ user = NULL; // get first entry
+ search_netrc("x", &user, &pw, 1, fp);
+ netrc_cleanup();
+
+ user = "u"; // get entry for user 'u'
+ search_netrc("x", &user, &pw, 1, fp);
+ netrc_cleanup();
+
+ fclose(fp);
+
+ fclose(stderr);
+ stderr = bak;
+
+ return 0;
+}
diff --git a/fuzz/wget_netrc_fuzzer.dict b/fuzz/wget_netrc_fuzzer.dict
new file mode 100644
index 00000000..d77a06eb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.dict
@@ -0,0 +1,8 @@
+"machine"
+"default"
+"login"
+"password"
+"macdef"
+"account"
+"port"
+"force"
diff --git a/fuzz/wget_netrc_fuzzer.in/0152daf776dbcb19bf2e6b18a27468e9e6c7c737 b/fuzz/wget_netrc_fuzzer.in/0152daf776dbcb19bf2e6b18a27468e9e6c7c737
new file mode 100644
index 00000000..93324ec4
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0152daf776dbcb19bf2e6b18a27468e9e6c7c737 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/01e0b3f07cee336c8b1b02dfed8993db4d25b9c1 b/fuzz/wget_netrc_fuzzer.in/01e0b3f07cee336c8b1b02dfed8993db4d25b9c1
new file mode 100644
index 00000000..89870c2b
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/01e0b3f07cee336c8b1b02dfed8993db4d25b9c1
@@ -0,0 +1,4 @@
+default force G
+force G
+fo G
+force G
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/020dc624546e1d41d15b641f7dac08f847b529ac b/fuzz/wget_netrc_fuzzer.in/020dc624546e1d41d15b641f7dac08f847b529ac
new file mode 100644
index 00000000..eaca809f
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/020dc624546e1d41d15b641f7dac08f847b529ac
@@ -0,0 +1,3 @@
+machine
+force ye
+force yeforce ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/034a03fa94dbb20374fe19eb577056ddd7a1fc8c b/fuzz/wget_netrc_fuzzer.in/034a03fa94dbb20374fe19eb577056ddd7a1fc8c
new file mode 100644
index 00000000..f399eb84
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/034a03fa94dbb20374fe19eb577056ddd7a1fc8c
@@ -0,0 +1,8 @@
+
+dehinen
+login
+login
+login
+login
+login
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/038e462cb441a42975669226cccc24244968de2b b/fuzz/wget_netrc_fuzzer.in/038e462cb441a42975669226cccc24244968de2b
new file mode 100644
index 00000000..4d624bd5
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/038e462cb441a42975669226cccc24244968de2b
@@ -0,0 +1 @@
+"oG"eorne
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/0503fdd417b583a810fa77145f2661333be70232 b/fuzz/wget_netrc_fuzzer.in/0503fdd417b583a810fa77145f2661333be70232
new file mode 100644
index 00000000..18b9a6f2
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/0503fdd417b583a810fa77145f2661333be70232
@@ -0,0 +1,3 @@
+"defJ
+!e)G
+a
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/056a54b1e5337ff869e545a681b38a738cde07fb b/fuzz/wget_netrc_fuzzer.in/056a54b1e5337ff869e545a681b38a738cde07fb
new file mode 100644
index 00000000..43b84f22
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/056a54b1e5337ff869e545a681b38a738cde07fb
@@ -0,0 +1,13 @@
+machine
+force Ye force Ye
+force Ye
+force Ye
+force Ye
+force Ye force Ye force Ye
+force Ye
+force Ye
+force Ye
+force Ye
+force Ye
+force Ye
+force Ye force Ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/06169023e938f822ca695366e8650aed2b76d3c5 b/fuzz/wget_netrc_fuzzer.in/06169023e938f822ca695366e8650aed2b76d3c5
new file mode 100644
index 00000000..2a4d81c7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/06169023e938f822ca695366e8650aed2b76d3c5
@@ -0,0 +1,40 @@
+default
+!
+login
+
+login
+login
+login
+
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
diff --git a/fuzz/wget_netrc_fuzzer.in/062865f21eb260fa87882a16a711d497ba4d3eff b/fuzz/wget_netrc_fuzzer.in/062865f21eb260fa87882a16a711d497ba4d3eff
new file mode 100644
index 00000000..074238d4
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/062865f21eb260fa87882a16a711d497ba4d3eff
@@ -0,0 +1,61 @@
+e
+a
+c
+n
+c
+a
+ca
+c
+c
+n
+c
+a
+c
+n
+a
+c
+
+n
+ce
+a
+c
+n
+c
+a
+ca
+c
+c
+n
+c
+a
+c
+n
+a
+c
+
+n
+c
+a
+a
+c
+
+n
+c
+a
+c
+n
+a
+c
+a
+a
+c
+
+n
+c
+a
+c
+n
+a
+c
+
+n
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/06b5a2e308ebdca8b3c5cdbb28de504fb70a8075 b/fuzz/wget_netrc_fuzzer.in/06b5a2e308ebdca8b3c5cdbb28de504fb70a8075
new file mode 100644
index 00000000..8fffdd93
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/06b5a2e308ebdca8b3c5cdbb28de504fb70a8075 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/06b6efb6ac4552dfdccb3e7b6138facae20dc08d b/fuzz/wget_netrc_fuzzer.in/06b6efb6ac4552dfdccb3e7b6138facae20dc08d
new file mode 100644
index 00000000..1533f796
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/06b6efb6ac4552dfdccb3e7b6138facae20dc08d differ
diff --git a/fuzz/wget_netrc_fuzzer.in/081503020a3c0294b43d8f1867662e9ebb0dbf6e b/fuzz/wget_netrc_fuzzer.in/081503020a3c0294b43d8f1867662e9ebb0dbf6e
new file mode 100644
index 00000000..da1f9743
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/081503020a3c0294b43d8f1867662e9ebb0dbf6e differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0936fe47547fb27bfcb00bf5fd971c8513645da8 b/fuzz/wget_netrc_fuzzer.in/0936fe47547fb27bfcb00bf5fd971c8513645da8
new file mode 100644
index 00000000..1119e07d
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0936fe47547fb27bfcb00bf5fd971c8513645da8 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0984a03d4297dd1aad1a1987a8916ea714cf7383 b/fuzz/wget_netrc_fuzzer.in/0984a03d4297dd1aad1a1987a8916ea714cf7383
new file mode 100644
index 00000000..431d8855
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0984a03d4297dd1aad1a1987a8916ea714cf7383 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0a150a8c34743ccc77af8ee9dffbd85e688db8a3 b/fuzz/wget_netrc_fuzzer.in/0a150a8c34743ccc77af8ee9dffbd85e688db8a3
new file mode 100644
index 00000000..b5205874
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/0a150a8c34743ccc77af8ee9dffbd85e688db8a3
@@ -0,0 +1,2 @@
+def\\\\\\\\\\\\\
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/0a22a9c182e01a3ba8cbd0781b57fc05a2eac17a b/fuzz/wget_netrc_fuzzer.in/0a22a9c182e01a3ba8cbd0781b57fc05a2eac17a
new file mode 100644
index 00000000..391f8701
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0a22a9c182e01a3ba8cbd0781b57fc05a2eac17a differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0a32371a7a22497ca72a4f64fa609c7298bd8f75 b/fuzz/wget_netrc_fuzzer.in/0a32371a7a22497ca72a4f64fa609c7298bd8f75
new file mode 100644
index 00000000..c34b13c8
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0a32371a7a22497ca72a4f64fa609c7298bd8f75 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0a8489e8f5eeebeba2e5880f5b649687938a479c b/fuzz/wget_netrc_fuzzer.in/0a8489e8f5eeebeba2e5880f5b649687938a479c
new file mode 100644
index 00000000..74741c92
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/0a8489e8f5eeebeba2e5880f5b649687938a479c
@@ -0,0 +1,17 @@
+machine
+
+efault
+login
+machn
+machine :ogn
+login
+mwopax
+machine a.b
+login b
+passord x
+machine a.baogie
+lt
+
+login b
+lologin cz
+
diff --git a/fuzz/wget_netrc_fuzzer.in/0ac2266f49d30cefd92ed9da6736c487c858e8b7 b/fuzz/wget_netrc_fuzzer.in/0ac2266f49d30cefd92ed9da6736c487c858e8b7
new file mode 100644
index 00000000..3db74fc3
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0ac2266f49d30cefd92ed9da6736c487c858e8b7 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0cc2589bd2a5ea0240c4c987f649349f83ec5f01 b/fuzz/wget_netrc_fuzzer.in/0cc2589bd2a5ea0240c4c987f649349f83ec5f01
new file mode 100644
index 00000000..3f1f80bd
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/0cc2589bd2a5ea0240c4c987f649349f83ec5f01 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/0f4995a85a7f1369c7ca0a9ebbe72e5d9477fdf2 b/fuzz/wget_netrc_fuzzer.in/0f4995a85a7f1369c7ca0a9ebbe72e5d9477fdf2
new file mode 100644
index 00000000..f1a1633e
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/0f4995a85a7f1369c7ca0a9ebbe72e5d9477fdf2
@@ -0,0 +1,9 @@
+#e x.y login ypassword x
+#
+machine xn y password x
+#
+machine x.e x.y login y passwor#
+machine x.e x.y login ypassword x
+#
+machine x
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/1074b5c3d1d61a4669821551de51bc2074eceb71 b/fuzz/wget_netrc_fuzzer.in/1074b5c3d1d61a4669821551de51bc2074eceb71
new file mode 100644
index 00000000..d8571b36
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/1074b5c3d1d61a4669821551de51bc2074eceb71 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/10b2ff2b5b2a406533d685714737868f17a7b3c7 b/fuzz/wget_netrc_fuzzer.in/10b2ff2b5b2a406533d685714737868f17a7b3c7
new file mode 100644
index 00000000..9002494a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/10b2ff2b5b2a406533d685714737868f17a7b3c7
@@ -0,0 +1,7 @@
+#
+machine x.y login y password x
+#
+mx
+#
+machine (.y login y password x
+machine a.bman"b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/11585930ca60c5fea9ea1abf7b74388747fc9513 b/fuzz/wget_netrc_fuzzer.in/11585930ca60c5fea9ea1abf7b74388747fc9513
new file mode 100644
index 00000000..170f8f5c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/11585930ca60c5fea9ea1abf7b74388747fc9513
@@ -0,0 +1,2 @@
+default force T
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/11678fc7a58f63228a0704bce07ca19dddcfa7db b/fuzz/wget_netrc_fuzzer.in/11678fc7a58f63228a0704bce07ca19dddcfa7db
new file mode 100644
index 00000000..47631dfc
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/11678fc7a58f63228a0704bce07ca19dddcfa7db
@@ -0,0 +1,17 @@
+
+mc
+c
+
+r
+mc
+c
+
+r
+c
+c
+c
+c
+
+m
+c
+c
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/11c48700cbbd4298c90c3cb182f746ec7c34db8c b/fuzz/wget_netrc_fuzzer.in/11c48700cbbd4298c90c3cb182f746ec7c34db8c
new file mode 100644
index 00000000..7b9d1e36
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/11c48700cbbd4298c90c3cb182f746ec7c34db8c differ
diff --git a/fuzz/wget_netrc_fuzzer.in/137e70fbba9515b6cf05f91e70dbc191055f7b42 b/fuzz/wget_netrc_fuzzer.in/137e70fbba9515b6cf05f91e70dbc191055f7b42
new file mode 100644
index 00000000..547969d9
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/137e70fbba9515b6cf05f91e70dbc191055f7b42
@@ -0,0 +1,5 @@
+#
+ma
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/1827c8f5b287337a52ebfa82806d618226557dd9 b/fuzz/wget_netrc_fuzzer.in/1827c8f5b287337a52ebfa82806d618226557dd9
new file mode 100644
index 00000000..e58f891c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/1827c8f5b287337a52ebfa82806d618226557dd9
@@ -0,0 +1,5 @@
+#
+machine def login y passw
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/1a2c94ae37cf51c58d1d333304b0f6b2d3ce150b b/fuzz/wget_netrc_fuzzer.in/1a2c94ae37cf51c58d1d333304b0f6b2d3ce150b
new file mode 100644
index 00000000..77695ec9
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/1a2c94ae37cf51c58d1d333304b0f6b2d3ce150b
@@ -0,0 +1,16 @@
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/1a756068665a5c39da44e6dd4f51109d99e4ec47 b/fuzz/wget_netrc_fuzzer.in/1a756068665a5c39da44e6dd4f51109d99e4ec47
new file mode 100644
index 00000000..17818e51
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/1a756068665a5c39da44e6dd4f51109d99e4ec47
@@ -0,0 +1,8 @@
+machine
+machine m machine
+machine !
+machine f
+machine *
machine xo default machine u
+machine x
+machine y
+machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/1b3dd21d9722a453459309329a68e3931dfd274b b/fuzz/wget_netrc_fuzzer.in/1b3dd21d9722a453459309329a68e3931dfd274b
new file mode 100644
index 00000000..a8caa23d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/1b3dd21d9722a453459309329a68e3931dfd274b
@@ -0,0 +1,73 @@
+defaupasslogint force T
+forcey
+m!chine
+password
+password
+password
+passworsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspmachineassword
+password
+p(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspmachineassword
+password
+password
+password
+password
+password
+pa(sword
+passwd
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/1b4cc4640cab20d60a9785ab14e7edb052b3c204 b/fuzz/wget_netrc_fuzzer.in/1b4cc4640cab20d60a9785ab14e7edb052b3c204
new file mode 100644
index 00000000..61a34bbc
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/1b4cc4640cab20d60a9785ab14e7edb052b3c204
@@ -0,0 +1,24 @@
+#login
+machine x.y login y password x
+mchine a.b
+locdef m
+ c1 a
+ c2 b
+
+micdef mm
+ c1 a
+ c2 z
+#
+m
+achine x.y login y password x
+machine a.b
+logyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+logynmacdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/1d1bfe31a8ab156661a6be55d497021d95f2e5b2 b/fuzz/wget_netrc_fuzzer.in/1d1bfe31a8ab156661a6be55d497021d95f2e5b2
new file mode 100644
index 00000000..10c3fdb6
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/1d1bfe31a8ab156661a6be55d497021d95f2e5b2 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/1d61ea8a6b154240d2c333c0b3e494ce0487441b b/fuzz/wget_netrc_fuzzer.in/1d61ea8a6b154240d2c333c0b3e494ce0487441b
new file mode 100644
index 00000000..d902f49d
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/1d61ea8a6b154240d2c333c0b3e494ce0487441b differ
diff --git a/fuzz/wget_netrc_fuzzer.in/206f28a7889523ba66e811f81d8a96844d46478b b/fuzz/wget_netrc_fuzzer.in/206f28a7889523ba66e811f81d8a96844d46478b
new file mode 100644
index 00000000..2e99f2fb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/206f28a7889523ba66e811f81d8a96844d46478b
@@ -0,0 +1,21 @@
+#mx
+
+##
+#
+"
+"
+##
+"
+#
+#
+#
+#
+#
+#
+#
+#
+#
+
+#
+#
+
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/20bd2be31d5b3dd7b1fb941322c74afc82662bed b/fuzz/wget_netrc_fuzzer.in/20bd2be31d5b3dd7b1fb941322c74afc82662bed
new file mode 100644
index 00000000..48cde3d2
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/20bd2be31d5b3dd7b1fb941322c74afc82662bed differ
diff --git a/fuzz/wget_netrc_fuzzer.in/210ff31677b69e6aedc00e3d688b12500f6738f5 b/fuzz/wget_netrc_fuzzer.in/210ff31677b69e6aedc00e3d688b12500f6738f5
new file mode 100644
index 00000000..53f0b258
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/210ff31677b69e6aedc00e3d688b12500f6738f5
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/21d6ede3a3556a59535293cee6ab9f0c32252681 b/fuzz/wget_netrc_fuzzer.in/21d6ede3a3556a59535293cee6ab9f0c32252681
new file mode 100644
index 00000000..d84d78e3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/21d6ede3a3556a59535293cee6ab9f0c32252681
@@ -0,0 +1,34 @@
+machine
+macdef
+)
+)
+)
+f
+)
+)
+)
+)
+)
+m
+)
+m
+
+2
+)
+)
+)
+m
+)
+m
+
+2
+)
+)
+)
+)
+)
+)
+)
+a
+)
+a
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/2355f9b6732fa867ae115dd466eb0073948df807 b/fuzz/wget_netrc_fuzzer.in/2355f9b6732fa867ae115dd466eb0073948df807
new file mode 100644
index 00000000..2aea2b5b
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/2355f9b6732fa867ae115dd466eb0073948df807 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/255a85f567f4f729ca20af038fec515f36652067 b/fuzz/wget_netrc_fuzzer.in/255a85f567f4f729ca20af038fec515f36652067
new file mode 100644
index 00000000..b8e7e604
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/255a85f567f4f729ca20af038fec515f36652067
@@ -0,0 +1,4 @@
+#
+machine x.ymacdef login y password x
+massword x
+ma'chine x.y w
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/25aa07271809a4940aae9d4d5186924c567e3aec b/fuzz/wget_netrc_fuzzer.in/25aa07271809a4940aae9d4d5186924c567e3aec
new file mode 100644
index 00000000..eaea4472
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/25aa07271809a4940aae9d4d5186924c567e3aec
@@ -0,0 +1,4 @@
+#
+ma a
+ߜ z'
+
diff --git a/fuzz/wget_netrc_fuzzer.in/2671a11bfcc3a8731ece36f4b537cd7a934cbf4e b/fuzz/wget_netrc_fuzzer.in/2671a11bfcc3a8731ece36f4b537cd7a934cbf4e
new file mode 100644
index 00000000..900712bc
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2671a11bfcc3a8731ece36f4b537cd7a934cbf4e
@@ -0,0 +1,14 @@
+#
+machine x.ogin b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ cword a
+macdef m
+ c1 a
+ c21 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/284727ad48defc0f14ac5e9eb614a8d3da72c6c0 b/fuzz/wget_netrc_fuzzer.in/284727ad48defc0f14ac5e9eb614a8d3da72c6c0
new file mode 100644
index 00000000..97903f61
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/284727ad48defc0f14ac5e9eb614a8d3da72c6c0 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/293b83eb72ef865df5078873013aab2f85d2f986 b/fuzz/wget_netrc_fuzzer.in/293b83eb72ef865df5078873013aab2f85d2f986
new file mode 100644
index 00000000..a7c9693f
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/293b83eb72ef865df5078873013aab2f85d2f986
@@ -0,0 +1,8 @@
+dault port
+port
+port
+port
+port
+porj
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/2a0480585711bf183230ccc27e1968ac94a3676c b/fuzz/wget_netrc_fuzzer.in/2a0480585711bf183230ccc27e1968ac94a3676c
new file mode 100644
index 00000000..28d16af3
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/2a0480585711bf183230ccc27e1968ac94a3676c differ
diff --git a/fuzz/wget_netrc_fuzzer.in/2b69d9f94345c1b3fea6a6d4e441dd611ed42154 b/fuzz/wget_netrc_fuzzer.in/2b69d9f94345c1b3fea6a6d4e441dd611ed42154
new file mode 100644
index 00000000..e026b3a3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2b69d9f94345c1b3fea6a6d4e441dd611ed42154
@@ -0,0 +1,3 @@
+default
+force ye force ye
+force Ye force Ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/2bb9d67012f1997d6bb0a355653814829782571d b/fuzz/wget_netrc_fuzzer.in/2bb9d67012f1997d6bb0a355653814829782571d
new file mode 100644
index 00000000..75751513
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2bb9d67012f1997d6bb0a355653814829782571d
@@ -0,0 +1,48 @@
+machine
+
+login
+macn
+default
+login
+login
+machine
+default
+login
+
+machine
+lo
+login
+machine
+login
+machine
+login
+defagin
+default
+login
+login
+machine
+login
+machine
+login
+default
+login
+
+machine
+loGin
+machine
+logdefaultine
+login
+default
+lo'gin
+machine
+login
+machine
+login
+machine
+login
+defaultGin
+machine
+logdefauac!hine
+login
+default
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/2c0b2f2b642ae8bdd08b1c7e9f2b0cea35259217 b/fuzz/wget_netrc_fuzzer.in/2c0b2f2b642ae8bdd08b1c7e9f2b0cea35259217
new file mode 100644
index 00000000..3f388e13
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/2c0b2f2b642ae8bdd08b1c7e9f2b0cea35259217 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/2c2aa2ede090fa96a2af4619031742e989ba3a2f b/fuzz/wget_netrc_fuzzer.in/2c2aa2ede090fa96a2af4619031742e989ba3a2f
new file mode 100644
index 00000000..f71a1633
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2c2aa2ede090fa96a2af4619031742e989ba3a2f
@@ -0,0 +1,3 @@
+#
+machine x.y login e x.y login y password x1 c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/2d318568e351dde92632724979bceaeb34967ab7 b/fuzz/wget_netrc_fuzzer.in/2d318568e351dde92632724979bceaeb34967ab7
new file mode 100644
index 00000000..2baa9c1b
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2d318568e351dde92632724979bceaeb34967ab7
@@ -0,0 +1,4 @@
+";orceorpaR wor\r
+!
+
+a
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/2dc24a083764ab472324ce1d0972a7228e6953db b/fuzz/wget_netrc_fuzzer.in/2dc24a083764ab472324ce1d0972a7228e6953db
new file mode 100644
index 00000000..4505ebb2
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2dc24a083764ab472324ce1d0972a7228e6953db
@@ -0,0 +1 @@
+mdeforce ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/2e8a2e3b019b11de5858659075e8977951d0d726 b/fuzz/wget_netrc_fuzzer.in/2e8a2e3b019b11de5858659075e8977951d0d726
new file mode 100644
index 00000000..bca0f273
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/2e8a2e3b019b11de5858659075e8977951d0d726
@@ -0,0 +1,13 @@
+#logyn
+machine x.y login y padefaultx
+machine a.b
+login b
+passord x
+machine a.b
+loginy login y padefaultx
+machine a.b
+login b
+passord x
+machine a.g
+login c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/31330fadeace977df243f9f7ddc0e0bf0f375f41 b/fuzz/wget_netrc_fuzzer.in/31330fadeace977df243f9f7ddc0e0bf0f375f41
new file mode 100644
index 00000000..854c7e5d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/31330fadeace977df243f9f7ddc0e0bf0f375f41
@@ -0,0 +1,4 @@
+deault force G
+force G
+fo G
+force G
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/31a8b38dd6342b78ca946c57fc8161a4939eb82b b/fuzz/wget_netrc_fuzzer.in/31a8b38dd6342b78ca946c57fc8161a4939eb82b
new file mode 100644
index 00000000..1a09d17d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/31a8b38dd6342b78ca946c57fc8161a4939eb82b
@@ -0,0 +1,35 @@
+y
+m!chine
+passwor
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspasswnrd
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+assword
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/33c2a9e92289844fb05b0c438ea763f8f3952d6a b/fuzz/wget_netrc_fuzzer.in/33c2a9e92289844fb05b0c438ea763f8f3952d6a
new file mode 100644
index 00000000..62258307
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/33c2a9e92289844fb05b0c438ea763f8f3952d6a differ
diff --git a/fuzz/wget_netrc_fuzzer.in/33eec97de368e60f78831403e99bd4f6836967b4 b/fuzz/wget_netrc_fuzzer.in/33eec97de368e60f78831403e99bd4f6836967b4
new file mode 100644
index 00000000..68e3bbc8
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/33eec97de368e60f78831403e99bd4f6836967b4
@@ -0,0 +1,15 @@
+machine x|i
+machine #
+machine x.y
+machine X.y
+machine 8.y machine x.)cy
+machine x.yd machine
+machine m machine yx.
+machine !e
+machine *e xo
+machine ult
+machine mat machine yxt
+cnebt
+machine }
+machine x.o default machine xe
+machine xf
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/346ce1c5914282a3564141663876ad312ca0dafe b/fuzz/wget_netrc_fuzzer.in/346ce1c5914282a3564141663876ad312ca0dafe
new file mode 100644
index 00000000..6cc834df
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/346ce1c5914282a3564141663876ad312ca0dafe
@@ -0,0 +1,14 @@
+machine l#
+machine _ machine zy machine ;
+machine a.b machine aV
+machine a
+machine _6 machine x) machine xy machine
+machine _0
+machine
+machine 1 machine x machine
+machine d
+machine n
+machine 0 machine y machine
+machine pg
+machine Y
+machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/35dc0e6f80e9724e06cd6888a1edc56b845c4d2d b/fuzz/wget_netrc_fuzzer.in/35dc0e6f80e9724e06cd6888a1edc56b845c4d2d
new file mode 100644
index 00000000..40413175
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/35dc0e6f80e9724e06cd6888a1edc56b845c4d2d
@@ -0,0 +1,10 @@
+machine machine y machine o default machine l
+machine
+machine m machine t
+machine !
+machine b machine f
+machine
+machine s
+machine e
+machine g
+machine x
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/3669fcd9d153d2d2ae4da34ab31c48d12b8d9464 b/fuzz/wget_netrc_fuzzer.in/3669fcd9d153d2d2ae4da34ab31c48d12b8d9464
new file mode 100644
index 00000000..4b8984ad
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/3669fcd9d153d2d2ae4da34ab31c48d12b8d9464 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/37943dae3f7740395fc9528fe1002d2114a30855 b/fuzz/wget_netrc_fuzzer.in/37943dae3f7740395fc9528fe1002d2114a30855
new file mode 100644
index 00000000..f437efbc
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/37943dae3f7740395fc9528fe1002d2114a30855
@@ -0,0 +1,77 @@
+dmassw
+!
+login
+
+lo
+login
+login
+
+lmassw
+!
+login
+
+lo
+login
+login
+
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+ogin
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
diff --git a/fuzz/wget_netrc_fuzzer.in/39264f14431a8f010e2aee4c42d6c90d94c2cd43 b/fuzz/wget_netrc_fuzzer.in/39264f14431a8f010e2aee4c42d6c90d94c2cd43
new file mode 100644
index 00000000..651bbe54
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/39264f14431a8f010e2aee4c42d6c90d94c2cd43 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/3a523a7a7cbb0bf1166a02af9a7bb794adf3158a b/fuzz/wget_netrc_fuzzer.in/3a523a7a7cbb0bf1166a02af9a7bb794adf3158a
new file mode 100644
index 00000000..864f1dba
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/3a523a7a7cbb0bf1166a02af9a7bb794adf3158a differ
diff --git a/fuzz/wget_netrc_fuzzer.in/3b36b906d3152a7bf3efd92d86ff156efa657b26 b/fuzz/wget_netrc_fuzzer.in/3b36b906d3152a7bf3efd92d86ff156efa657b26
new file mode 100644
index 00000000..fbfeb52f
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/3b36b906d3152a7bf3efd92d86ff156efa657b26
@@ -0,0 +1,7 @@
+machine
+machine c machine default
+machine .
+machine x machine u
+machine t machine l
+machine #
+machine y machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/3c0b22ceb9a63e99acaed61698db174901199283 b/fuzz/wget_netrc_fuzzer.in/3c0b22ceb9a63e99acaed61698db174901199283
new file mode 100644
index 00000000..1cc0362c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/3c0b22ceb9a63e99acaed61698db174901199283
@@ -0,0 +1,40 @@
+d!efault
+!
+login
+
+login
+login
+login
+
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logi)n
+
diff --git a/fuzz/wget_netrc_fuzzer.in/3ca388c1ddf63fb078a84006686039455fbccfb1 b/fuzz/wget_netrc_fuzzer.in/3ca388c1ddf63fb078a84006686039455fbccfb1
new file mode 100644
index 00000000..6f4364f7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/3ca388c1ddf63fb078a84006686039455fbccfb1
@@ -0,0 +1 @@
+ct=wget_ne x y x ) " ' . x \\\\\\\\\\\\\\\\ | x y . } x 7 x y . login 5 y a x ) * ' x | * . . x )
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/3cf09a98cc4890b357c4fc1abe3411313ebd970f b/fuzz/wget_netrc_fuzzer.in/3cf09a98cc4890b357c4fc1abe3411313ebd970f
new file mode 100644
index 00000000..3442faa1
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/3cf09a98cc4890b357c4fc1abe3411313ebd970f differ
diff --git a/fuzz/wget_netrc_fuzzer.in/3e5095f31ecaaa0fad51e5b904b916668fbd4105 b/fuzz/wget_netrc_fuzzer.in/3e5095f31ecaaa0fad51e5b904b916668fbd4105
new file mode 100644
index 00000000..d7c063d7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/3e5095f31ecaaa0fad51e5b904b916668fbd4105
@@ -0,0 +1,2 @@
+#
+""&""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""#
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/3f9442ae73dd83e2456cf998cdd3260833241886 b/fuzz/wget_netrc_fuzzer.in/3f9442ae73dd83e2456cf998cdd3260833241886
new file mode 100644
index 00000000..cb691d0c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/3f9442ae73dd83e2456cf998cdd3260833241886
@@ -0,0 +1 @@
+mohne ".m
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/43e898dc3d128058b25bfaa3f92c6609a288f85d b/fuzz/wget_netrc_fuzzer.in/43e898dc3d128058b25bfaa3f92c6609a288f85d
new file mode 100644
index 00000000..69a51a03
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/43e898dc3d128058b25bfaa3f92c6609a288f85d differ
diff --git a/fuzz/wget_netrc_fuzzer.in/4475fd80e4d14306a810da833e622526d05c1248 b/fuzz/wget_netrc_fuzzer.in/4475fd80e4d14306a810da833e622526d05c1248
new file mode 100644
index 00000000..896c20ea
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/4475fd80e4d14306a810da833e622526d05c1248 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/44a27144db13228f5bf34a3ff6154498f418f32a b/fuzz/wget_netrc_fuzzer.in/44a27144db13228f5bf34a3ff6154498f418f32a
new file mode 100644
index 00000000..0408cf90
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/44a27144db13228f5bf34a3ff6154498f418f32a
@@ -0,0 +1,13 @@
+#
+macdefmachine x.y login y password x
+machine a.b
+logyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/460da6d310764b9e602e439b48e38020ff98f1dd b/fuzz/wget_netrc_fuzzer.in/460da6d310764b9e602e439b48e38020ff98f1dd
new file mode 100644
index 00000000..32d87b99
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/460da6d310764b9e602e439b48e38020ff98f1dd
@@ -0,0 +1,9 @@
+
+defin
+login
+logi
+
+olingnlogin
+login
+gin
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/475bf334956710ac937aea55768eb8a199238a84 b/fuzz/wget_netrc_fuzzer.in/475bf334956710ac937aea55768eb8a199238a84
new file mode 100644
index 00000000..cb189b19
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/475bf334956710ac937aea55768eb8a199238a84 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/483462d0f88b2dd959e396f94c5fec91fd3dbe6e b/fuzz/wget_netrc_fuzzer.in/483462d0f88b2dd959e396f94c5fec91fd3dbe6e
new file mode 100644
index 00000000..18ae08d6
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/483462d0f88b2dd959e396f94c5fec91fd3dbe6e
@@ -0,0 +1,133 @@
+
+m
+c
+c
+c
+
+m
+c
+
+c
+c
+c
+
+m
+c
+c
+c c
+c
+
+r
+
+ m
+m
+c
+c
+c
+
+m
+c
+
+m
+c
+c
+c
+
+
+r
+m
+
+m
+c
+m
+c
+c
+c
+
+m
+c
+c
+c
+c
+c
+
+c c
+c
+
+r
+m
+
+m
+c
+c
+c c
+c
+
+r
+
+ m
+m
+c
+c
+c
+
+m
+c
+
+m
+c
+c
+c
+
+
+r
+m
+
+m
+c
+m
+c
+c
+c
+
+m
+c
+c
+c
+c
+c
+
+m
+c
+c
+c c
+c
+
+r
+m
+c
+c
+c
+
+m
+c
+c
+c
+c
+c
+
+m
+c
+c
+c c
+c
+
+
+m
+c
+c
+c
+
+m
+c
+c
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4a80f2951fd532dd420188324de626fae3656c95 b/fuzz/wget_netrc_fuzzer.in/4a80f2951fd532dd420188324de626fae3656c95
new file mode 100644
index 00000000..75363c9c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4a80f2951fd532dd420188324de626fae3656c95
@@ -0,0 +1,3 @@
+defaultcr foe G
+force G
+force G
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4b356deea4a35cef94cdbb9f6fa67a08a203d9c7 b/fuzz/wget_netrc_fuzzer.in/4b356deea4a35cef94cdbb9f6fa67a08a203d9c7
new file mode 100644
index 00000000..707e49c7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4b356deea4a35cef94cdbb9f6fa67a08a203d9c7
@@ -0,0 +1,13 @@
+#
+machine x.y login y password x
+macmachineb
+login b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/4bc8f9c65ab1ab78e9a644a86853b377341da860 b/fuzz/wget_netrc_fuzzer.in/4bc8f9c65ab1ab78e9a644a86853b377341da860
new file mode 100644
index 00000000..c2ce4bd2
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4bc8f9c65ab1ab78e9a644a86853b377341da860
@@ -0,0 +1,4 @@
+#
+maa
+ߜ
+
diff --git a/fuzz/wget_netrc_fuzzer.in/4cb41ef6aa54162e288fb8d18bdccaf2ef116b05 b/fuzz/wget_netrc_fuzzer.in/4cb41ef6aa54162e288fb8d18bdccaf2ef116b05
new file mode 100644
index 00000000..222cb352
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/4cb41ef6aa54162e288fb8d18bdccaf2ef116b05 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/4d4ebe761c5a51989edf69a5362a160f75f8604f b/fuzz/wget_netrc_fuzzer.in/4d4ebe761c5a51989edf69a5362a160f75f8604f
new file mode 100644
index 00000000..2654ef51
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4d4ebe761c5a51989edf69a5362a160f75f8604f
@@ -0,0 +1,17 @@
+machine
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4dc7c9ec434ed06502767136789763ec11d2c4b7 b/fuzz/wget_netrc_fuzzer.in/4dc7c9ec434ed06502767136789763ec11d2c4b7
new file mode 100644
index 00000000..1d2f0149
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4dc7c9ec434ed06502767136789763ec11d2c4b7
@@ -0,0 +1 @@
+r
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4e1607f4d43ecf044e42a07631f9963b624ff7bf b/fuzz/wget_netrc_fuzzer.in/4e1607f4d43ecf044e42a07631f9963b624ff7bf
new file mode 100644
index 00000000..8bb0317a
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/4e1607f4d43ecf044e42a07631f9963b624ff7bf differ
diff --git a/fuzz/wget_netrc_fuzzer.in/4e6a9bb31e90931335f05856bd6f85365022ac54 b/fuzz/wget_netrc_fuzzer.in/4e6a9bb31e90931335f05856bd6f85365022ac54
new file mode 100644
index 00000000..418fe976
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4e6a9bb31e90931335f05856bd6f85365022ac54
@@ -0,0 +1,2 @@
+#
+machine chinmacdefe v.y login y paspasswosw
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4ee2c097ed830fb101e08b13e7369a5545476e1f b/fuzz/wget_netrc_fuzzer.in/4ee2c097ed830fb101e08b13e7369a5545476e1f
new file mode 100644
index 00000000..4f10222f
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4ee2c097ed830fb101e08b13e7369a5545476e1f
@@ -0,0 +1,14 @@
+y
+machine xmae
+f
+#
+c
+#
+#
+login
+#
+#:
+deord
+password
+
+de
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4f01e6a0db4ae08255f74c08950dc0d62ba07b6a b/fuzz/wget_netrc_fuzzer.in/4f01e6a0db4ae08255f74c08950dc0d62ba07b6a
new file mode 100644
index 00000000..92fb06a0
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/4f01e6a0db4ae08255f74c08950dc0d62ba07b6a differ
diff --git a/fuzz/wget_netrc_fuzzer.in/4fa18c7c579ca7331f70231907f6236d9244848e b/fuzz/wget_netrc_fuzzer.in/4fa18c7c579ca7331f70231907f6236d9244848e
new file mode 100644
index 00000000..7a8c3afd
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4fa18c7c579ca7331f70231907f6236d9244848e
@@ -0,0 +1 @@
+default force T
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4fc47fba313d15de75cf0150f6e7be81c9a398bf b/fuzz/wget_netrc_fuzzer.in/4fc47fba313d15de75cf0150f6e7be81c9a398bf
new file mode 100644
index 00000000..577b6587
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4fc47fba313d15de75cf0150f6e7be81c9a398bf
@@ -0,0 +1,17 @@
+madefaultchine
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+povt
+port
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/4ff12eb29d0034d3450b0f8755a5331230f610a1 b/fuzz/wget_netrc_fuzzer.in/4ff12eb29d0034d3450b0f8755a5331230f610a1
new file mode 100644
index 00000000..4ceaa343
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/4ff12eb29d0034d3450b0f8755a5331230f610a1
@@ -0,0 +1,6 @@
+#
+default x.y login y password x
+#
+machine x.y#
+default x.y login y hine a.bma
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/52e551630839906c41dbcfff9a323dd8643bf430 b/fuzz/wget_netrc_fuzzer.in/52e551630839906c41dbcfff9a323dd8643bf430
new file mode 100644
index 00000000..ec9af5af
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/52e551630839906c41dbcfff9a323dd8643bf430
@@ -0,0 +1,11 @@
+
+machine t machine y machine o default machine c
+machine m machine e#
+machine l
+machine
+machine .
+machine ie machine f
+machine p
+machine xe
+machine g
+machine x
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/535067fa91bac03851b8052d1c1d2a09a0434e20 b/fuzz/wget_netrc_fuzzer.in/535067fa91bac03851b8052d1c1d2a09a0434e20
new file mode 100644
index 00000000..af18aeb6
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/535067fa91bac03851b8052d1c1d2a09a0434e20 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/5356acdfff97e1ad9024287a6c6917fe47d12fd1 b/fuzz/wget_netrc_fuzzer.in/5356acdfff97e1ad9024287a6c6917fe47d12fd1
new file mode 100644
index 00000000..50e56e1a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5356acdfff97e1ad9024287a6c6917fe47d12fd1
@@ -0,0 +1,6 @@
+default
+default default default default
+default default default default default default default default
+default default default default default default
+default default default default default default default default
+default default default default default
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/53b7d4b845ebc68f4e2fc48c055d6061b2e43160 b/fuzz/wget_netrc_fuzzer.in/53b7d4b845ebc68f4e2fc48c055d6061b2e43160
new file mode 100644
index 00000000..cd033ec9
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/53b7d4b845ebc68f4e2fc48c055d6061b2e43160
@@ -0,0 +1,3 @@
+m
+port
+pt
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5476957a1cb555a72a6423a7706a575493c32747 b/fuzz/wget_netrc_fuzzer.in/5476957a1cb555a72a6423a7706a575493c32747
new file mode 100644
index 00000000..97a8f07e
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5476957a1cb555a72a6423a7706a575493c32747
@@ -0,0 +1,467 @@
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
++
+#
+2
+#
+#
+#
+#
+#
+#
+
+#
+#
+"
+;#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
++
+#
+##
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+;#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
++
+##
+#
+#
+#
+#
+#
+##
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#machine#
+#
+#
+#default
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+##
+
+
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+login#
+
+#
+#
+password#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+;#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+
+#
+#
+#
+#
+#
+#
+#
+
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#machine#
+#
+#
+#default
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+##
+
+
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+login#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/56b0465ecf472c118d25fa7a2196fdec9fb7177e b/fuzz/wget_netrc_fuzzer.in/56b0465ecf472c118d25fa7a2196fdec9fb7177e
new file mode 100644
index 00000000..5a846307
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/56b0465ecf472c118d25fa7a2196fdec9fb7177e differ
diff --git a/fuzz/wget_netrc_fuzzer.in/57332b4340d5c34418a984272e6cd9d77a4647c3 b/fuzz/wget_netrc_fuzzer.in/57332b4340d5c34418a984272e6cd9d77a4647c3
new file mode 100644
index 00000000..eb5e6e6b
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/57332b4340d5c34418a984272e6cd9d77a4647c3
@@ -0,0 +1,4 @@
+#
+machine x.ymacdef login y password
+ x
+massword w
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/57582f46926a79c2f23c983c3a62781a0957b6e5 b/fuzz/wget_netrc_fuzzer.in/57582f46926a79c2f23c983c3a62781a0957b6e5
new file mode 100644
index 00000000..104a6ce6
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/57582f46926a79c2f23c983c3a62781a0957b6e5
@@ -0,0 +1,319 @@
+achine
+accou
+force
+force
+force
+force
+force
+force
+fforce
+force
+forc*:
+force
+force
+force"""""""""#
+machine x.y *logi"""""""""""""""""n """""""""b"""""""""""""""""""""""""""""""""""""""
+force
+fo;rce
+force
+force
+force
+force
+force
+force
+force
+force
+frce
+orce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+forcforce
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+force
+force
+forc*:
+force
+force
+force"""""""""#
+machine x.y *logi"""""""""""""""""""""""""""""macdef""""""""""""""""""n """""""""b""""""""""""""
+force
+fo;rce
+force
+force
+force
+force
+force
+force
+force
+force
+frce
+orce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+fo"""""""""""""""""""""""""""""""""""
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+frce
+orce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+force
+force
+force
+force
+forcc
+fo
+forc;e
+force
+rce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+foy passwordrc x
+#
+logyn be
+forc;e
+forceo
+rcee
+force
+force
+force
+force
+force
+forcc
+fo
+forc;e
+force
+rce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+foy passwordrc x
+#ce
+force
+force
+forcc
+fo
+forc;e
+force
+rce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+foy passwordrc x
+#
+logyn be
+forc;e
+forceo
+rcee
+force
+force
+force
+force
+force
+forcc
+fo
+forc;e
+force
+rce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+foy passwordrc x
+#
+logyn be
+forc;e
+forceo
+rceforce
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/57aa297a5e8a5ceab81380b0c1026978e33aebe9 b/fuzz/wget_netrc_fuzzer.in/57aa297a5e8a5ceab81380b0c1026978e33aebe9
new file mode 100644
index 00000000..64badadf
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/57aa297a5e8a5ceab81380b0c1026978e33aebe9
@@ -0,0 +1,17 @@
+ymachinee
+password
+password
+password
+password
+password
+pa.sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+tassw_bbbord
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5898505b447f722aa778b89ec477cc6fd7180dc2 b/fuzz/wget_netrc_fuzzer.in/5898505b447f722aa778b89ec477cc6fd7180dc2
new file mode 100644
index 00000000..a0016466
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5898505b447f722aa778b89ec477cc6fd7180dc2
@@ -0,0 +1,11 @@
+\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\swo
+pas\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\(\\\\sword
+machine
+
+machine
+passwo
+pas\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\sword
+machine
+pas$swrd
+rachine
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/599cfb95f02a231a889e80e61a0d4c72280c9738 b/fuzz/wget_netrc_fuzzer.in/599cfb95f02a231a889e80e61a0d4c72280c9738
new file mode 100644
index 00000000..b25e7cda
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/599cfb95f02a231a889e80e61a0d4c72280c9738 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/59e4fa57ce9fc2785114c8a60c1057bc739478f5 b/fuzz/wget_netrc_fuzzer.in/59e4fa57ce9fc2785114c8a60c1057bc739478f5
new file mode 100644
index 00000000..3a256496
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/59e4fa57ce9fc2785114c8a60c1057bc739478f5 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/5a76b8a70f9802147e0a862418e0e83fd10eab67 b/fuzz/wget_netrc_fuzzer.in/5a76b8a70f9802147e0a862418e0e83fd10eab67
new file mode 100644
index 00000000..1c435133
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5a76b8a70f9802147e0a862418e0e83fd10eab67
@@ -0,0 +1,11 @@
+
+default
+login
+login
+login
+login
+login
+login
+login
+login
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5aa276cbeda5c51b8918d3eec0e4e47fd4773c0e b/fuzz/wget_netrc_fuzzer.in/5aa276cbeda5c51b8918d3eec0e4e47fd4773c0e
new file mode 100644
index 00000000..a3214ac3
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/5aa276cbeda5c51b8918d3eec0e4e47fd4773c0e differ
diff --git a/fuzz/wget_netrc_fuzzer.in/5be4dc174d75be317358c82c9825aed12c91c6c4 b/fuzz/wget_netrc_fuzzer.in/5be4dc174d75be317358c82c9825aed12c91c6c4
new file mode 100644
index 00000000..8e118cf3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5be4dc174d75be317358c82c9825aed12c91c6c4
@@ -0,0 +1,3 @@
+icnahe
+""$""""e
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5c79f8efab0b8261c6de213621e0c65eaf65f74d b/fuzz/wget_netrc_fuzzer.in/5c79f8efab0b8261c6de213621e0c65eaf65f74d
new file mode 100644
index 00000000..9c3b9234
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5c79f8efab0b8261c6de213621e0c65eaf65f74d
@@ -0,0 +1 @@
+machine wy
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5ce84f740f705dffe06c2ad1040ac8ac0b22d366 b/fuzz/wget_netrc_fuzzer.in/5ce84f740f705dffe06c2ad1040ac8ac0b22d366
new file mode 100644
index 00000000..9d5ab6a0
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/5ce84f740f705dffe06c2ad1040ac8ac0b22d366 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/5d0f2690cd402b17b9e2e51a2454030214def4cd b/fuzz/wget_netrc_fuzzer.in/5d0f2690cd402b17b9e2e51a2454030214def4cd
new file mode 100644
index 00000000..42f09bb6
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/5d0f2690cd402b17b9e2e51a2454030214def4cd differ
diff --git a/fuzz/wget_netrc_fuzzer.in/5d8f9265934fc9fe40e1b17a2e940443fbbeb98c b/fuzz/wget_netrc_fuzzer.in/5d8f9265934fc9fe40e1b17a2e940443fbbeb98c
new file mode 100644
index 00000000..fe7a2070
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/5d8f9265934fc9fe40e1b17a2e940443fbbeb98c differ
diff --git a/fuzz/wget_netrc_fuzzer.in/5dfae5ecec0bba77472b4ed62906d2268bab392b b/fuzz/wget_netrc_fuzzer.in/5dfae5ecec0bba77472b4ed62906d2268bab392b
new file mode 100644
index 00000000..6b50c7d0
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5dfae5ecec0bba77472b4ed62906d2268bab392b
@@ -0,0 +1 @@
+ x ) * ' . x | x . x | x y . } x 6 x y . } x 6 | x 6 . x ) * ' . x | x . . x ) * ' . x | x . x | x y . } x 6 x y . } x 6 y a x y a x
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5ee3b764998df9413056628c123f7c5ba37e00f0 b/fuzz/wget_netrc_fuzzer.in/5ee3b764998df9413056628c123f7c5ba37e00f0
new file mode 100644
index 00000000..ebba9537
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5ee3b764998df9413056628c123f7c5ba37e00f0
@@ -0,0 +1,33 @@
+machine
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5f48d2baab73486af49949d00c9287f94e92dd30 b/fuzz/wget_netrc_fuzzer.in/5f48d2baab73486af49949d00c9287f94e92dd30
new file mode 100644
index 00000000..4a88e9cb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5f48d2baab73486af49949d00c9287f94e92dd30
@@ -0,0 +1,30 @@
+machine
+
+login
+machine
+login
+machine
+loginn
+machine
+login
+machine
+login
+default
+login
+
+machine
+login
+machine
+login
+machine
+login
+default
+login
+machine
+login
+machine
+login
+machine
+login
+default
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/5ff62186f352766df6abb1074b266addb06c4054 b/fuzz/wget_netrc_fuzzer.in/5ff62186f352766df6abb1074b266addb06c4054
new file mode 100644
index 00000000..f632440e
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/5ff62186f352766df6abb1074b266addb06c4054
@@ -0,0 +1,278 @@
+achine
+accou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+jrce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+foru
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+e
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+jrce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+forceachine
+accou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+force
+force
+forcefg
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+force
+force
+force
+fo
+forc;e
+force
+frce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+force
+frc;e
+forceo
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+force
+force
+force
+fo
+forc;e
+force
+frce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+force
+frc;e
+forceo
+rceforce
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6055f2b7b40f926ecd40b0e79d7557451aaf5861 b/fuzz/wget_netrc_fuzzer.in/6055f2b7b40f926ecd40b0e79d7557451aaf5861
new file mode 100644
index 00000000..b27d76b3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6055f2b7b40f926ecd40b0e79d7557451aaf5861
@@ -0,0 +1 @@
+passworde x.y lob
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/609bda2927ca5f316e883fecb199838af96bdd43 b/fuzz/wget_netrc_fuzzer.in/609bda2927ca5f316e883fecb199838af96bdd43
new file mode 100644
index 00000000..77e4e01a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/609bda2927ca5f316e883fecb199838af96bdd43
@@ -0,0 +1,13 @@
+#
+machine x.y login y password x
+machine a.b
+logyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/616c8199a77486aa886acd1623b9aafdf6ce365a b/fuzz/wget_netrc_fuzzer.in/616c8199a77486aa886acd1623b9aafdf6ce365a
new file mode 100644
index 00000000..dfe064f1
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/616c8199a77486aa886acd1623b9aafdf6ce365a
@@ -0,0 +1 @@
+""""""""""""""">"""n """""""""""""""""""""""""""""""""_______""""""""""""" ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6258d38bc27ba7560f0333d72ae4320bb01174f6 b/fuzz/wget_netrc_fuzzer.in/6258d38bc27ba7560f0333d72ae4320bb01174f6
new file mode 100644
index 00000000..c7f1bca2
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6258d38bc27ba7560f0333d72ae4320bb01174f6
@@ -0,0 +1,7 @@
+ort
+port
+polo
+port
+port
+port
+poru
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/633d75ebc768291b7461a2cece7cc310aa88089e b/fuzz/wget_netrc_fuzzer.in/633d75ebc768291b7461a2cece7cc310aa88089e
new file mode 100644
index 00000000..4de7d9ec
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/633d75ebc768291b7461a2cece7cc310aa88089e differ
diff --git a/fuzz/wget_netrc_fuzzer.in/647dc934ec37511c93c025be2268be3002889d94 b/fuzz/wget_netrc_fuzzer.in/647dc934ec37511c93c025be2268be3002889d94
new file mode 100644
index 00000000..63fc15b3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/647dc934ec37511c93c025be2268be3002889d94
@@ -0,0 +1,8 @@
+default port
+port
+port
+port
+port
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6620ee4f618eb97019249f91ff1961afd37ca00a b/fuzz/wget_netrc_fuzzer.in/6620ee4f618eb97019249f91ff1961afd37ca00a
new file mode 100644
index 00000000..0a3cf572
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6620ee4f618eb97019249f91ff1961afd37ca00a
@@ -0,0 +1,6 @@
+#
+machine x.y login y password x
+#
+machine x.y login y password x
+machine a.bma
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/66d2a072b42eadd060d432c932e611bdeadd7de6 b/fuzz/wget_netrc_fuzzer.in/66d2a072b42eadd060d432c932e611bdeadd7de6
new file mode 100644
index 00000000..66a71f81
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/66d2a072b42eadd060d432c932e611bdeadd7de6
@@ -0,0 +1,2 @@
+machio"\""
+"orf"erlogo"\""""""ce
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/67bfb044f626b35b930fb943abcd5089d491b647 b/fuzz/wget_netrc_fuzzer.in/67bfb044f626b35b930fb943abcd5089d491b647
new file mode 100644
index 00000000..be46919b
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/67bfb044f626b35b930fb943abcd5089d491b647
@@ -0,0 +1,32 @@
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/67d0125d74cad6ae5866260e06400589b26423be b/fuzz/wget_netrc_fuzzer.in/67d0125d74cad6ae5866260e06400589b26423be
new file mode 100644
index 00000000..7fb78a04
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/67d0125d74cad6ae5866260e06400589b26423be
@@ -0,0 +1,2 @@
+default force ye
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/681cf849f0e150eb127dc3b383ff3df963b646d3 b/fuzz/wget_netrc_fuzzer.in/681cf849f0e150eb127dc3b383ff3df963b646d3
new file mode 100644
index 00000000..76411f8b
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/681cf849f0e150eb127dc3b383ff3df963b646d3 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/682a968844ca693aea9962f26044ad449ac90a6d b/fuzz/wget_netrc_fuzzer.in/682a968844ca693aea9962f26044ad449ac90a6d
new file mode 100644
index 00000000..d40ca400
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/682a968844ca693aea9962f26044ad449ac90a6d differ
diff --git a/fuzz/wget_netrc_fuzzer.in/69c1a55ade92c01cf7f390992901ad1d59143fff b/fuzz/wget_netrc_fuzzer.in/69c1a55ade92c01cf7f390992901ad1d59143fff
new file mode 100644
index 00000000..065cebe3
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/69c1a55ade92c01cf7f390992901ad1d59143fff differ
diff --git a/fuzz/wget_netrc_fuzzer.in/6aa0a9c30b432d4015d6656f4b0da84c24c94c01 b/fuzz/wget_netrc_fuzzer.in/6aa0a9c30b432d4015d6656f4b0da84c24c94c01
new file mode 100644
index 00000000..983c7280
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6aa0a9c30b432d4015d6656f4b0da84c24c94c01
@@ -0,0 +1 @@
+machine . n y p e x p * j e p n j e p n p e x p e e p n p % n n e 0 n p e e p n p e x p e e p p j e p n j e p n p e x e e p n p % x y
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6bd298e90137bea71b84e37bc43fdd146beaaeba b/fuzz/wget_netrc_fuzzer.in/6bd298e90137bea71b84e37bc43fdd146beaaeba
new file mode 100644
index 00000000..e85850be
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/6bd298e90137bea71b84e37bc43fdd146beaaeba differ
diff --git a/fuzz/wget_netrc_fuzzer.in/6c24ba0faace9da0423b5b91f108999897d4fa48 b/fuzz/wget_netrc_fuzzer.in/6c24ba0faace9da0423b5b91f108999897d4fa48
new file mode 100644
index 00000000..a5dbe6d0
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/6c24ba0faace9da0423b5b91f108999897d4fa48 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/6cb58be9c9c70d22da77e3b14bf6cf21bd3e6447 b/fuzz/wget_netrc_fuzzer.in/6cb58be9c9c70d22da77e3b14bf6cf21bd3e6447
new file mode 100644
index 00000000..26c6a08a
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/6cb58be9c9c70d22da77e3b14bf6cf21bd3e6447 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/6cbb0995817ee2cdc2a021409a34a567ad7655eb b/fuzz/wget_netrc_fuzzer.in/6cbb0995817ee2cdc2a021409a34a567ad7655eb
new file mode 100644
index 00000000..4b57cf5a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6cbb0995817ee2cdc2a021409a34a567ad7655eb
@@ -0,0 +1 @@
+de\au(taut
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6ce2cf2e8bbcb1fb732e8566623429a6a7e19c40 b/fuzz/wget_netrc_fuzzer.in/6ce2cf2e8bbcb1fb732e8566623429a6a7e19c40
new file mode 100644
index 00000000..c32ea6c8
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/6ce2cf2e8bbcb1fb732e8566623429a6a7e19c40 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/6d1d57bc729f0b87b6198f46b1d1b7eab2c80508 b/fuzz/wget_netrc_fuzzer.in/6d1d57bc729f0b87b6198f46b1d1b7eab2c80508
new file mode 100644
index 00000000..8737f5fb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6d1d57bc729f0b87b6198f46b1d1b7eab2c80508
@@ -0,0 +1,18 @@
+machine
+force ye
+force yeforce ye
+force ye
+force ye
+force yeforce ye
+force
+force ye
+force ye
+force yeye
+force yeforce ye
+force ye
+force ye
+force yeforce ye
+force ye
+force ye
+force yeforce ye
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6e59f8fc2a286b8a48681f1ae9867cf9b9cd984d b/fuzz/wget_netrc_fuzzer.in/6e59f8fc2a286b8a48681f1ae9867cf9b9cd984d
new file mode 100644
index 00000000..bb2ffeeb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6e59f8fc2a286b8a48681f1ae9867cf9b9cd984d
@@ -0,0 +1,113 @@
+machine
+
+login
+machine
+login
+machine
+login
+default
+login
+machachine
+login
+machine
+login
+default
+login
+machine
+
+:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+man
+machine
+
+:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machinine
+
+:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+man
+machine
+
+:ogin
+machine
+login
+maogine
+login
+machine
+login
+default
+login
+machine
+login
+machine
+login
+machine
+login
+defaul
+ogin
+default
+login
+machine
+login
+machine
+login
+machine
+login
+default
+logchine
+login
+machine
+login
+default
+login
+machine
+login
+machine
+login
+machine
+login
+defaul
+ogin
+default
+login
+machine
+login
+machine
+login
+machine
+login
+default
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6e65a867a10b2a25065b5538bcca85f8f6d3e2da b/fuzz/wget_netrc_fuzzer.in/6e65a867a10b2a25065b5538bcca85f8f6d3e2da
new file mode 100644
index 00000000..9a0be5be
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6e65a867a10b2a25065b5538bcca85f8f6d3e2da
@@ -0,0 +1,19 @@
+det
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/6ef732e12d05b792ef0bafde7eab2bee535b633f b/fuzz/wget_netrc_fuzzer.in/6ef732e12d05b792ef0bafde7eab2bee535b633f
new file mode 100644
index 00000000..f42dcc12
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/6ef732e12d05b792ef0bafde7eab2bee535b633f differ
diff --git a/fuzz/wget_netrc_fuzzer.in/6f2edfd1231f064c5b4fdd80572ba89a4d44beeb b/fuzz/wget_netrc_fuzzer.in/6f2edfd1231f064c5b4fdd80572ba89a4d44beeb
new file mode 100644
index 00000000..2dad0de8
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/6f2edfd1231f064c5b4fdd80572ba89a4d44beeb
@@ -0,0 +1,98 @@
+#
+machine x.y login y password x
+x.yhine a a.b
+y
+m!chine
+password
+password
+password
+password
+passord
+password
+password
+password
+password
+password
+password
+p'assword
+password
+password
+password
+password
+passlogin b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef.b
+y
+m!chine
+password
+pa
+machine
+password
+machine 2
+password
+machine
+password
+machine
+password
+machine
+password
+machine
+passworssword
+password
+password
+password
+passw'rd
+p'assword
+password
+password
+password
+password
+passlogin b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef.b
+y
+m!chine
+password
+pa
+machine
+password
+machine 2
+password
+machine
+password
+machine
+password
+machine
+password
+machine
+password
+machine
+password
+macssword
+password
+password
+passord
+password
+password
+pane
+password
+machine
+password
+machine
+password
+macssword
+password
+password
+pas c1 a
+ c2 b
+
+macdef dicwordt=libwgetd_2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/708a773659f527ca876da3f846848b398b734db9 b/fuzz/wget_netrc_fuzzer.in/708a773659f527ca876da3f846848b398b734db9
new file mode 100644
index 00000000..1329b292
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/708a773659f527ca876da3f846848b398b734db9
@@ -0,0 +1,6 @@
+#
+macpine y password x
+ma
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/72ffd4f9e274198c3e8e75b3f2cadd0ef71c6550 b/fuzz/wget_netrc_fuzzer.in/72ffd4f9e274198c3e8e75b3f2cadd0ef71c6550
new file mode 100644
index 00000000..badf8635
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/72ffd4f9e274198c3e8e75b3f2cadd0ef71c6550
@@ -0,0 +1,2 @@
+ """"2""""""""""""""""""""e
+f
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/743a9262ed501e8544822ad7ea1b00dfd38bd1ac b/fuzz/wget_netrc_fuzzer.in/743a9262ed501e8544822ad7ea1b00dfd38bd1ac
new file mode 100644
index 00000000..867f8306
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/743a9262ed501e8544822ad7ea1b00dfd38bd1ac
@@ -0,0 +1,65 @@
+machine
+
+login
+machine
+login
+login
+mogine
+login
+degault
+login
+:
+machine
+inhine
+login
+mac
+machine
+login
+machiemacdef
+login
+default
+line
+login
+degault
+login
+:
+machine
+inhine
+login
+mac
+machine
+login
+machhine
+login
+ma
+:ogin
+machine
+loginfaulef
+login
+default
+line
+login
+degault
+login
+gin
+man
+machine
+
+:ogin
+machine
+login
+mogine
+login
+degault
+login
+:
+machine
+inhine
+login
+mac
+machine
+login
+machiemacdef
+login
+default
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/751c5b04edce72e44787eff468365d346e790956 b/fuzz/wget_netrc_fuzzer.in/751c5b04edce72e44787eff468365d346e790956
new file mode 100644
index 00000000..0f5f36aa
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/751c5b04edce72e44787eff468365d346e790956 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/755f80259557691d1ecb3584b5aa8f4ca5d49fe5 b/fuzz/wget_netrc_fuzzer.in/755f80259557691d1ecb3584b5aa8f4ca5d49fe5
new file mode 100644
index 00000000..06b7b16e
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/755f80259557691d1ecb3584b5aa8f4ca5d49fe5 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/76798eafe74d018b63507188cd624e53b5c12a41 b/fuzz/wget_netrc_fuzzer.in/76798eafe74d018b63507188cd624e53b5c12a41
new file mode 100644
index 00000000..a613b4fb
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/76798eafe74d018b63507188cd624e53b5c12a41 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/771a15890191adfe6fa6d3413a76a1be583020cb b/fuzz/wget_netrc_fuzzer.in/771a15890191adfe6fa6d3413a76a1be583020cb
new file mode 100644
index 00000000..564d04bc
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/771a15890191adfe6fa6d3413a76a1be583020cb
@@ -0,0 +1,11 @@
+machine {
+machine zf
+machine {
+machine y
+machine { machine {
+machine {
+machine {
+machine { machine {
+machine {
+machine {
+machine {
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/78cb1f975911b8776d66e78ff49c8b1c79b53bab b/fuzz/wget_netrc_fuzzer.in/78cb1f975911b8776d66e78ff49c8b1c79b53bab
new file mode 100644
index 00000000..f2cb37c7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/78cb1f975911b8776d66e78ff49c8b1c79b53bab
@@ -0,0 +1,3 @@
+#
+ma
+
diff --git a/fuzz/wget_netrc_fuzzer.in/79f94cec92eeb1b9a14afe0f1382c55c60064273 b/fuzz/wget_netrc_fuzzer.in/79f94cec92eeb1b9a14afe0f1382c55c60064273
new file mode 100644
index 00000000..88ed2c0a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/79f94cec92eeb1b9a14afe0f1382c55c60064273
@@ -0,0 +1,10 @@
+#
+macdefaulty login y password x
+machine a.b
+login b
+password a
+macdef m
+ c1 a c2 b
+
+macde: dict=libwget_2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/7b2ad0f9ee3c0e187754bd8bf6b399be1a45dd41 b/fuzz/wget_netrc_fuzzer.in/7b2ad0f9ee3c0e187754bd8bf6b399be1a45dd41
new file mode 100644
index 00000000..38e941f8
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/7b2ad0f9ee3c0e187754bd8bf6b399be1a45dd41 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/7b43a43a65079b6099bd67f9968e37679089d19e b/fuzz/wget_netrc_fuzzer.in/7b43a43a65079b6099bd67f9968e37679089d19e
new file mode 100644
index 00000000..ce1d6b89
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/7b43a43a65079b6099bd67f9968e37679089d19e
@@ -0,0 +1,8 @@
+machine
+force YG
+force YG force YY force YG
+force YG force YY force YG
+force YG force YG force YG
+force YG force YY
+force YG
+force YG force YYY force YY
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/7b8254c45e5a68022d511766b112f4da097af63c b/fuzz/wget_netrc_fuzzer.in/7b8254c45e5a68022d511766b112f4da097af63c
new file mode 100644
index 00000000..b324db3d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/7b8254c45e5a68022d511766b112f4da097af63c
@@ -0,0 +1,14 @@
+machine e machine x machine t
+machine n machine
+ machine a machine m
+machine y machine f
+machine *
+machine hn
+machine n
+machine ; machine *
+machine u
+machine ee machine ( default
+machine h
+machine l
+machine : machine machine 7
+machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/7ca3eeed9ab5824a865f2691b9909e83b3f17f50 b/fuzz/wget_netrc_fuzzer.in/7ca3eeed9ab5824a865f2691b9909e83b3f17f50
new file mode 100644
index 00000000..34fb842b
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/7ca3eeed9ab5824a865f2691b9909e83b3f17f50 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/7cf3cbdbf5286e363848a9653d934550a072eafa b/fuzz/wget_netrc_fuzzer.in/7cf3cbdbf5286e363848a9653d934550a072eafa
new file mode 100644
index 00000000..ec67ad92
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/7cf3cbdbf5286e363848a9653d934550a072eafa
@@ -0,0 +1,153 @@
+#
+machine x.y login y password x
+machine a.b
+login b
+password a
+macmacdef mm
+ c1 a
+ c2m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+#
+m
+achilogyn b
+password a
+macdef"
+
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a m
+ c1
+
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
+
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+a
+ c2 b
+
+macdef mm
+a
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/7d03e30ebda5dddffcea63efcab38c24b7767385 b/fuzz/wget_netrc_fuzzer.in/7d03e30ebda5dddffcea63efcab38c24b7767385
new file mode 100644
index 00000000..ce5448d2
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/7d03e30ebda5dddffcea63efcab38c24b7767385 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/7ec704658bda4d911ebd9c239f9b7d3a56cc5201 b/fuzz/wget_netrc_fuzzer.in/7ec704658bda4d911ebd9c239f9b7d3a56cc5201
new file mode 100644
index 00000000..7bfc4beb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/7ec704658bda4d911ebd9c239f9b7d3a56cc5201
@@ -0,0 +1,5 @@
+default
+port
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/7f8e40b31bfa1c96679c094851ed9dfeff20460f b/fuzz/wget_netrc_fuzzer.in/7f8e40b31bfa1c96679c094851ed9dfeff20460f
new file mode 100644
index 00000000..86f77ecb
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/7f8e40b31bfa1c96679c094851ed9dfeff20460f differ
diff --git a/fuzz/wget_netrc_fuzzer.in/7fec524372a462603741b253ffd9903cda9c5754 b/fuzz/wget_netrc_fuzzer.in/7fec524372a462603741b253ffd9903cda9c5754
new file mode 100644
index 00000000..54aa1ebe
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/7fec524372a462603741b253ffd9903cda9c5754
@@ -0,0 +1,140 @@
+achine
+accou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+force
+force
+forceforce
+force
+force
+force
+force
+force
+force
+forou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+forceachine
+accou
+force
+force
+force
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+force
+force
+forceforce
+
+force
+force
+force
+fforce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+force
+force
+force
+fo
+forc;e
+force
+frce
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+orce
+force
+force
+force
+fce
+force
+force
+force
+forc;e
+forceo
+rceforce
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/80fa3b188c3fd6e1ac7a51f1524320dfa1b7af87 b/fuzz/wget_netrc_fuzzer.in/80fa3b188c3fd6e1ac7a51f1524320dfa1b7af87
new file mode 100644
index 00000000..991a1d75
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/80fa3b188c3fd6e1ac7a51f1524320dfa1b7af87
@@ -0,0 +1 @@
+""""""""n """""""""b""""""inrmachinece
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/8267179bdccb1151416aafa59b5b58f5475409cd b/fuzz/wget_netrc_fuzzer.in/8267179bdccb1151416aafa59b5b58f5475409cd
new file mode 100644
index 00000000..9492b971
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/8267179bdccb1151416aafa59b5b58f5475409cd
@@ -0,0 +1,1009 @@
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
++
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+##
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
++
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+##
+
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#ma#
+#
+#
+
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#ma#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+#
++
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#ma#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+#
++
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#ma#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+##
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+
+#
+#ma#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+&
+##
+#
+#
+#machine#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+j
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+##
+#
++
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#machine#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#*#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+login#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#
+#
+#
+#
+"
+#
+#
+#
+#'#
+#
+##
+#
+#
+#
+#
+"
+ ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/834011e9d08dbac1369c8aac67c8cd5069625886 b/fuzz/wget_netrc_fuzzer.in/834011e9d08dbac1369c8aac67c8cd5069625886
new file mode 100644
index 00000000..00171dc4
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/834011e9d08dbac1369c8aac67c8cd5069625886
@@ -0,0 +1,13 @@
+#
+macdefmachine x.y login y password x
+machine a.b
+logyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/837104fdc49bb8cf97af7d580d7d6c5d6876e176 b/fuzz/wget_netrc_fuzzer.in/837104fdc49bb8cf97af7d580d7d6c5d6876e176
new file mode 100644
index 00000000..fad9a005
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/837104fdc49bb8cf97af7d580d7d6c5d6876e176 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/858448eb2abb8067f2626182425d3d174635e2ca b/fuzz/wget_netrc_fuzzer.in/858448eb2abb8067f2626182425d3d174635e2ca
new file mode 100644
index 00000000..7259d1c9
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/858448eb2abb8067f2626182425d3d174635e2ca
@@ -0,0 +1,2 @@
+#
+machine hic߉.y login y pa
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/8801d38c2bb608a8fd9d602fab8375dbbfedc203 b/fuzz/wget_netrc_fuzzer.in/8801d38c2bb608a8fd9d602fab8375dbbfedc203
new file mode 100644
index 00000000..b24db7a3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/8801d38c2bb608a8fd9d602fab8375dbbfedc203
@@ -0,0 +1,7 @@
+default default
+default
+default default
+default default default default default
+default default default
+default default
+default
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/885af12bb74c4e36cfece65aa1e3a13022347de8 b/fuzz/wget_netrc_fuzzer.in/885af12bb74c4e36cfece65aa1e3a13022347de8
new file mode 100644
index 00000000..e3a539b7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/885af12bb74c4e36cfece65aa1e3a13022347de8
@@ -0,0 +1,2 @@
+machine x.y
+machine wy
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/88b372908b3eee12b2eb740b013529e94380a243 b/fuzz/wget_netrc_fuzzer.in/88b372908b3eee12b2eb740b013529e94380a243
new file mode 100644
index 00000000..e6503377
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/88b372908b3eee12b2eb740b013529e94380a243
@@ -0,0 +1,28 @@
+mAchine
+force ye
+force yeforce ye
+foce ye
+force ye
+force ye
+force yerce yef
+forcce ie
+force yeye
+force yeforce ye
+force ye
+force ye
+force yeforce ye
+force ye
+force ye
+force yefoye
+force yeforce ye
+force ye
+force ye
+force yefoye
+force yeforce ye
+force ye
+force ye
+force yeforce ye
+force ye
+force ye
+force yeforce ye
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/895aa86c645dae1589ea67387636aba133a8670f b/fuzz/wget_netrc_fuzzer.in/895aa86c645dae1589ea67387636aba133a8670f
new file mode 100644
index 00000000..e9dcce8c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/895aa86c645dae1589ea67387636aba133a8670f
@@ -0,0 +1,65 @@
+#
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2m
+ c1 a
+machine c2 b
+
+macdef mm
+ c1 a
+ c2 z
+#
+m
+achilogyn b
+password a
+macdef m
+ c1 a
+word a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2m
+ c1 a
+macline c2 b
+
+macdef mm
+ c1 a
+ c2 z
+#
+m
+achilogyn b
+passw;ord a
+macdef m
+ c1 a
+cdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2m
+ c1 a
+machine c2 b
+
+macdef mm
+ c1 a
+ c2 z
+#
+m
+achilogyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/89d9a4d28a7870c5eeace8e107e00d95f63e79bf b/fuzz/wget_netrc_fuzzer.in/89d9a4d28a7870c5eeace8e107e00d95f63e79bf
new file mode 100644
index 00000000..c33bef11
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/89d9a4d28a7870c5eeace8e107e00d95f63e79bf
@@ -0,0 +1,41 @@
+machine
+
+login
+machine
+login
+machine
+login
+default
+login
+machine
+
+:ogin
+machine
+login
+machine
+login
+default
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+machine
+lo'in
+machine
+login
+default
+login
+machine
+login
+machine
+login
+machine
+login
+defaul
+ogin
+deft
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/8b4e9da5aeff4eb69848458fc3da14eac82f0cd8 b/fuzz/wget_netrc_fuzzer.in/8b4e9da5aeff4eb69848458fc3da14eac82f0cd8
new file mode 100644
index 00000000..cb7f88ef
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/8b4e9da5aeff4eb69848458fc3da14eac82f0cd8 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/8b5b05f1b7e09ed0141200b70b1ae34e0b7d45fc b/fuzz/wget_netrc_fuzzer.in/8b5b05f1b7e09ed0141200b70b1ae34e0b7d45fc
new file mode 100644
index 00000000..c08bb959
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/8b5b05f1b7e09ed0141200b70b1ae34e0b7d45fc differ
diff --git a/fuzz/wget_netrc_fuzzer.in/8cdde3cc0ab00607f1a5a88d01e923d6ac9456da b/fuzz/wget_netrc_fuzzer.in/8cdde3cc0ab00607f1a5a88d01e923d6ac9456da
new file mode 100644
index 00000000..f32b4879
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/8cdde3cc0ab00607f1a5a88d01e923d6ac9456da differ
diff --git a/fuzz/wget_netrc_fuzzer.in/8e63661adcd71fbdc7a153dbe265031448ac5756 b/fuzz/wget_netrc_fuzzer.in/8e63661adcd71fbdc7a153dbe265031448ac5756
new file mode 100644
index 00000000..51fccb04
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/8e63661adcd71fbdc7a153dbe265031448ac5756
@@ -0,0 +1,8 @@
+default port
+port
+
+post
+port
+port
+port
+portprt
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/8f43a69ebd83d899af58ec244dfd8e7b6e7064bc b/fuzz/wget_netrc_fuzzer.in/8f43a69ebd83d899af58ec244dfd8e7b6e7064bc
new file mode 100644
index 00000000..e0b7aa9a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/8f43a69ebd83d899af58ec244dfd8e7b6e7064bc
@@ -0,0 +1,5 @@
+dfault
+port
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/912c9625b86fb348a316bf4641cd30d51fa16525 b/fuzz/wget_netrc_fuzzer.in/912c9625b86fb348a316bf4641cd30d51fa16525
new file mode 100644
index 00000000..d426e8d4
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/912c9625b86fb348a316bf4641cd30d51fa16525 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/91d0c42c39155e2b96a5833752b9bcf6601a34ec b/fuzz/wget_netrc_fuzzer.in/91d0c42c39155e2b96a5833752b9bcf6601a34ec
new file mode 100644
index 00000000..72f07fcd
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/91d0c42c39155e2b96a5833752b9bcf6601a34ec differ
diff --git a/fuzz/wget_netrc_fuzzer.in/92036acdc9bf874635290e2b5b2d3a5ac43961c3 b/fuzz/wget_netrc_fuzzer.in/92036acdc9bf874635290e2b5b2d3a5ac43961c3
new file mode 100644
index 00000000..c0a91b46
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/92036acdc9bf874635290e2b5b2d3a5ac43961c3 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/933746557e6a8cd2619431abaa7cedae48416d9e b/fuzz/wget_netrc_fuzzer.in/933746557e6a8cd2619431abaa7cedae48416d9e
new file mode 100644
index 00000000..fdd6e279
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/933746557e6a8cd2619431abaa7cedae48416d9e
@@ -0,0 +1,3 @@
+machine
+forceye
+forcey
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/947480730f73c973e432091c76921341faf34675 b/fuzz/wget_netrc_fuzzer.in/947480730f73c973e432091c76921341faf34675
new file mode 100644
index 00000000..539e4c62
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/947480730f73c973e432091c76921341faf34675
@@ -0,0 +1,8 @@
+machine
+machine m machine default
+machine !
+machine y
+machine *
+machine t machine f
+machine d
+machine . machine e
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/94b1d8efd065d80e5bb25de426bda7944c1567a6 b/fuzz/wget_netrc_fuzzer.in/94b1d8efd065d80e5bb25de426bda7944c1567a6
new file mode 100644
index 00000000..d38b57be
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/94b1d8efd065d80e5bb25de426bda7944c1567a6 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/9601bb10fd261389620cb09134bba21eca664f94 b/fuzz/wget_netrc_fuzzer.in/9601bb10fd261389620cb09134bba21eca664f94
new file mode 100644
index 00000000..26df3691
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9601bb10fd261389620cb09134bba21eca664f94
@@ -0,0 +1,5 @@
+ default machine x
+machine !h machine }
+machine x.o machine mi machine yxhoi machine yxhoy
+machine neau
+machine mat default default default default default default default default default default default
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/962957fa9c6d4c5e2d7f950e77c3da4dc2ee9135 b/fuzz/wget_netrc_fuzzer.in/962957fa9c6d4c5e2d7f950e77c3da4dc2ee9135
new file mode 100644
index 00000000..671f1ffa
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/962957fa9c6d4c5e2d7f950e77c3da4dc2ee9135
@@ -0,0 +1,2 @@
+macShio"\""
+"or""ce
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/962a8b52c2824723b4ea2794f7ecb16e59945dae b/fuzz/wget_netrc_fuzzer.in/962a8b52c2824723b4ea2794f7ecb16e59945dae
new file mode 100644
index 00000000..70da2bb1
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/962a8b52c2824723b4ea2794f7ecb16e59945dae differ
diff --git a/fuzz/wget_netrc_fuzzer.in/96907b687ba8011d3bb302e218df5c7b6250506d b/fuzz/wget_netrc_fuzzer.in/96907b687ba8011d3bb302e218df5c7b6250506d
new file mode 100644
index 00000000..f79575f4
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/96907b687ba8011d3bb302e218df5c7b6250506d
@@ -0,0 +1,3 @@
+machine
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/973daa89b0de9fef5eea8d3c1780354b3704b3b3 b/fuzz/wget_netrc_fuzzer.in/973daa89b0de9fef5eea8d3c1780354b3704b3b3
new file mode 100644
index 00000000..a80141ef
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/973daa89b0de9fef5eea8d3c1780354b3704b3b3
@@ -0,0 +1,30 @@
+#
+machine x.y login y password x
+machine a.b
+login b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+#
+m
+achilogyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/980cbaf0f79648e90b0abd612baca555ef6d9302 b/fuzz/wget_netrc_fuzzer.in/980cbaf0f79648e90b0abd612baca555ef6d9302
new file mode 100644
index 00000000..08a0df0b
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/980cbaf0f79648e90b0abd612baca555ef6d9302
@@ -0,0 +1,2 @@
+machine
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/990d7fdc4908378a47b0dc36f1e339d5f6ebc9bc b/fuzz/wget_netrc_fuzzer.in/990d7fdc4908378a47b0dc36f1e339d5f6ebc9bc
new file mode 100644
index 00000000..327a6605
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/990d7fdc4908378a47b0dc36f1e339d5f6ebc9bc
@@ -0,0 +1,315 @@
+defaupasslogint force T
+forcey
+m!ches
+naipsword
+password
+password
+passworsword
+password
+password
+password
+prce T
+forcey
+m!ches
+naipsword
+password
+password
+passworsword
+password
+password
+passwor$
+password
+password
+psword
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(
+passworsword
+password
+password
+password
+password
+password
+'pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspassword
+password
+password
+password
+password
+password
+pa(sword
+pasrsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(swoword
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+passwora(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(
+passworsword
+password
+password
+password
+password
+password
+'pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspassword
+password
+password
+password
+password
+password
+pa(sword
+pasrsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(swoword
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(
+passworsword
+password
+password
+password
+password
+password
+'pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspassword
+password
+password
+password
+password
+password
+pa(sword
+pasrsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+passwordrd
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+pass2 machine
+
+login
+machine
+login
+machine
+login
+defagin
+default
+login
+login
+machine
+defaword
+pau
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/99154c4577ff5f4dc55623b8ed8ffbdbd0fef0d7 b/fuzz/wget_netrc_fuzzer.in/99154c4577ff5f4dc55623b8ed8ffbdbd0fef0d7
new file mode 100644
index 00000000..35611b22
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/99154c4577ff5f4dc55623b8ed8ffbdbd0fef0d7
@@ -0,0 +1,18 @@
+#
+macdefmachine x.ne a.b
+logyn b
+password a
+macdef m
+ chine a.b
+logyn b
+paschine a.b
+logyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef! mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/997bb18ca8e40b71a99eba15fa31912d822d8f30 b/fuzz/wget_netrc_fuzzer.in/997bb18ca8e40b71a99eba15fa31912d822d8f30
new file mode 100644
index 00000000..8169d165
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/997bb18ca8e40b71a99eba15fa31912d822d8f30
@@ -0,0 +1,8 @@
+machine
+force ye
+force ye
+force yeforce ye
+force ye
+force ye
+force ye
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/99c8abd534b00a615c47063894901f64130c31bd b/fuzz/wget_netrc_fuzzer.in/99c8abd534b00a615c47063894901f64130c31bd
new file mode 100644
index 00000000..6a365bb5
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/99c8abd534b00a615c47063894901f64130c31bd
@@ -0,0 +1,61 @@
+defaupasslogint force T
+forcey
+m!chine
+password
+password
+password
+passworsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+rd
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+assword
+password
+password
+password
+password
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/9b0b6075e27e7efcd41b99911c3578dfbd1821cc b/fuzz/wget_netrc_fuzzer.in/9b0b6075e27e7efcd41b99911c3578dfbd1821cc
new file mode 100644
index 00000000..c1f2caeb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9b0b6075e27e7efcd41b99911c3578dfbd1821cc
@@ -0,0 +1,4 @@
+#
+maa
+ߜ z'
+
diff --git a/fuzz/wget_netrc_fuzzer.in/9c6ddcb509d2e318ab0f00f1b07ad44a6385b37b b/fuzz/wget_netrc_fuzzer.in/9c6ddcb509d2e318ab0f00f1b07ad44a6385b37b
new file mode 100644
index 00000000..e5252055
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9c6ddcb509d2e318ab0f00f1b07ad44a6385b37b
@@ -0,0 +1,9 @@
+
+masswo2d
+password
+password
+password
+pard
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/9c782adca124ae066adbf75a28ad518f4bc63e75 b/fuzz/wget_netrc_fuzzer.in/9c782adca124ae066adbf75a28ad518f4bc63e75
new file mode 100644
index 00000000..93b73cf0
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9c782adca124ae066adbf75a28ad518f4bc63e75
@@ -0,0 +1,3 @@
+mach
+cheni
+hinpe f
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/9ce0a915dc42016e6f5b4ff6290cf6d18be21722 b/fuzz/wget_netrc_fuzzer.in/9ce0a915dc42016e6f5b4ff6290cf6d18be21722
new file mode 100644
index 00000000..849ec624
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9ce0a915dc42016e6f5b4ff6290cf6d18be21722
@@ -0,0 +1,20 @@
+machine
+
+login
+macnt
+login
+login
+machine
+deult
+login
+
+machine
+lo
+login
+machine
+lmacdefachine
+log
+default
+login
+lat
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/9e7f4c620eccfba2b35b33de5e61b8b731bbaa41 b/fuzz/wget_netrc_fuzzer.in/9e7f4c620eccfba2b35b33de5e61b8b731bbaa41
new file mode 100644
index 00000000..db789d69
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9e7f4c620eccfba2b35b33de5e61b8b731bbaa41
@@ -0,0 +1,3 @@
+machine
+force
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/9f001112cc481c9444ddb60466f33af7ca7c730d b/fuzz/wget_netrc_fuzzer.in/9f001112cc481c9444ddb60466f33af7ca7c730d
new file mode 100644
index 00000000..1e4a9494
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/9f001112cc481c9444ddb60466f33af7ca7c730d
@@ -0,0 +1,6 @@
+#
+default x.y login y password x
+#
+machine x.y login y password x
+machine a.bma
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/a13fed0681cd4cad1a4d9d9695bf6d9794e5e43b b/fuzz/wget_netrc_fuzzer.in/a13fed0681cd4cad1a4d9d9695bf6d9794e5e43b
new file mode 100644
index 00000000..89a8ebef
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/a13fed0681cd4cad1a4d9d9695bf6d9794e5e43b
@@ -0,0 +1,35 @@
+machine
+
+login
+machine
+login
+machine
+login
+default
+login
+machine
+
+login
+machine
+login
+machine
+login
+default
+login
+
+machine
+login
+machine
+login
+machine
+login
+default
+login
+machine
+login
+machine
+login
+machine
+login
+default
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/a1551f69b566141ec9d6ea257f849ec198a8f760 b/fuzz/wget_netrc_fuzzer.in/a1551f69b566141ec9d6ea257f849ec198a8f760
new file mode 100644
index 00000000..9fc7d28d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/a1551f69b566141ec9d6ea257f849ec198a8f760
@@ -0,0 +1,12 @@
+#ma#
+machine x.y login y password
+machine a.b
+login
+machine x.y login y password x
+ma a.b
+login
+machine x.y login y password x
+ma
+ c1 a
+ login eff dict=libwget_2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/a2cbd5c73cea45d03a7d3d792a2524e86f39fac0 b/fuzz/wget_netrc_fuzzer.in/a2cbd5c73cea45d03a7d3d792a2524e86f39fac0
new file mode 100644
index 00000000..edf7afe8
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/a2cbd5c73cea45d03a7d3d792a2524e86f39fac0 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/a35c4ea641f979ba271a01d402fdac8d4a2f85a7 b/fuzz/wget_netrc_fuzzer.in/a35c4ea641f979ba271a01d402fdac8d4a2f85a7
new file mode 100644
index 00000000..362c2adf
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/a35c4ea641f979ba271a01d402fdac8d4a2f85a7
@@ -0,0 +1,128 @@
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/a3e16ae56c703f6f4451067b9efc193b5ce272d5 b/fuzz/wget_netrc_fuzzer.in/a3e16ae56c703f6f4451067b9efc193b5ce272d5
new file mode 100644
index 00000000..1e9e1858
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/a3e16ae56c703f6f4451067b9efc193b5ce272d5 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/a47df0a1442d297941a9589c8b4671a87a967599 b/fuzz/wget_netrc_fuzzer.in/a47df0a1442d297941a9589c8b4671a87a967599
new file mode 100644
index 00000000..6cb1205b
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/a47df0a1442d297941a9589c8b4671a87a967599 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/a66807e7a3e710a7cbe280cb651d5131e9f5bdef b/fuzz/wget_netrc_fuzzer.in/a66807e7a3e710a7cbe280cb651d5131e9f5bdef
new file mode 100644
index 00000000..c595bb31
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/a66807e7a3e710a7cbe280cb651d5131e9f5bdef
@@ -0,0 +1,3 @@
+#
+machine xy ogy paiswoxdr 1 c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/a821c38afa1a44d12eda19854fee559ecb49fcc6 b/fuzz/wget_netrc_fuzzer.in/a821c38afa1a44d12eda19854fee559ecb49fcc6
new file mode 100644
index 00000000..c619f6b1
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/a821c38afa1a44d12eda19854fee559ecb49fcc6
@@ -0,0 +1,2 @@
+#
+ma
diff --git a/fuzz/wget_netrc_fuzzer.in/a9544a59fc1b3b8890887bf925c2e5c354fd828c b/fuzz/wget_netrc_fuzzer.in/a9544a59fc1b3b8890887bf925c2e5c354fd828c
new file mode 100644
index 00000000..3d727e7a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/a9544a59fc1b3b8890887bf925c2e5c354fd828c
@@ -0,0 +1,32 @@
+machine
+b
+U
+m
+m
+q
+)
+H
+m
+1
+m
+1
+m
+b
+n
+a
+x
+m
+b
+m
+q
+)
+m
+3
+m
+1
+m
+b
+m
+1
+n
+a
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/aac47d9127294138988cd0a9686997507f861070 b/fuzz/wget_netrc_fuzzer.in/aac47d9127294138988cd0a9686997507f861070
new file mode 100644
index 00000000..2d8fba38
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/aac47d9127294138988cd0a9686997507f861070
@@ -0,0 +1,8 @@
+#
+machine x.ogin b
+password a
+macdef m
+ c2 a
+ a
+ c: z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/acdefeb25062154a75cac1485c60e653fbc46163 b/fuzz/wget_netrc_fuzzer.in/acdefeb25062154a75cac1485c60e653fbc46163
new file mode 100644
index 00000000..84d79672
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/acdefeb25062154a75cac1485c60e653fbc46163 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/acf5bdffe4e1d8c417c1b5fdbe95cb2c00d395e3 b/fuzz/wget_netrc_fuzzer.in/acf5bdffe4e1d8c417c1b5fdbe95cb2c00d395e3
new file mode 100644
index 00000000..cba546b0
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/acf5bdffe4e1d8c417c1b5fdbe95cb2c00d395e3 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/ad0d3aff48dd2bfe8a3d972556708e9815fda570 b/fuzz/wget_netrc_fuzzer.in/ad0d3aff48dd2bfe8a3d972556708e9815fda570
new file mode 100644
index 00000000..931994bb
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/ad0d3aff48dd2bfe8a3d972556708e9815fda570 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/ad5a8c04de2ef16be372640a609b946af1392285 b/fuzz/wget_netrc_fuzzer.in/ad5a8c04de2ef16be372640a609b946af1392285
new file mode 100644
index 00000000..12e31c34
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/ad5a8c04de2ef16be372640a609b946af1392285 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/ade8a97fbe2f7ae887d88478918739eef9b7aafd b/fuzz/wget_netrc_fuzzer.in/ade8a97fbe2f7ae887d88478918739eef9b7aafd
new file mode 100644
index 00000000..0af3fa69
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/ade8a97fbe2f7ae887d88478918739eef9b7aafd differ
diff --git a/fuzz/wget_netrc_fuzzer.in/ae809dde40a659fc3e756ce9a301c065d67f1e85 b/fuzz/wget_netrc_fuzzer.in/ae809dde40a659fc3e756ce9a301c065d67f1e85
new file mode 100644
index 00000000..5de4a8d1
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/ae809dde40a659fc3e756ce9a301c065d67f1e85 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/af626077a365a57208e3d0ba2306de555eca3132 b/fuzz/wget_netrc_fuzzer.in/af626077a365a57208e3d0ba2306de555eca3132
new file mode 100644
index 00000000..a66fcf53
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/af626077a365a57208e3d0ba2306de555eca3132
@@ -0,0 +1,16 @@
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/b0d72f8bc12a7293e22358ddacde8b6756bac1e5 b/fuzz/wget_netrc_fuzzer.in/b0d72f8bc12a7293e22358ddacde8b6756bac1e5
new file mode 100644
index 00000000..7971e1c9
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/b0d72f8bc12a7293e22358ddacde8b6756bac1e5 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/b1535c5ed66c9069556bebe7fd4ff6d558dc7cbf b/fuzz/wget_netrc_fuzzer.in/b1535c5ed66c9069556bebe7fd4ff6d558dc7cbf
new file mode 100644
index 00000000..f668a41d
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/b1535c5ed66c9069556bebe7fd4ff6d558dc7cbf differ
diff --git a/fuzz/wget_netrc_fuzzer.in/b23264a99662e6f3ee0d69fc49780c597d9d7041 b/fuzz/wget_netrc_fuzzer.in/b23264a99662e6f3ee0d69fc49780c597d9d7041
new file mode 100644
index 00000000..e2ab9256
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/b23264a99662e6f3ee0d69fc49780c597d9d7041 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/b37bd9ba0f1f0855063bb6ac09c90b814c48362f b/fuzz/wget_netrc_fuzzer.in/b37bd9ba0f1f0855063bb6ac09c90b814c48362f
new file mode 100644
index 00000000..9356adb1
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b37bd9ba0f1f0855063bb6ac09c90b814c48362f
@@ -0,0 +1,63 @@
+
+m
+c
+c
+c
+
+m
+c
+c
+c c
+c
+
+r
+m
+
+m
+c
+c
+c
+
+m
+c
+
+m
+c
+c
+c
+
+
+r
+m
+
+m
+c
+m
+c
+c
+c
+
+m
+c
+c
+c
+c
+c
+
+m
+c
+c
+c c
+c
+
+r
+m
+
+m
+c
+c
+c
+
+m
+c
+c
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/b563299afd9176e0d630b6b6fb6ab403f949b69e b/fuzz/wget_netrc_fuzzer.in/b563299afd9176e0d630b6b6fb6ab403f949b69e
new file mode 100644
index 00000000..55309083
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b563299afd9176e0d630b6b6fb6ab403f949b69e
@@ -0,0 +1,8 @@
+machine y
+machine s
+machine machine *
+machine t machine ma machine x.
+machine K
+machine c machine
+machine x
+machine a
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/b69facd6672e02c60ca0eb642ca3e32bc4255ac9 b/fuzz/wget_netrc_fuzzer.in/b69facd6672e02c60ca0eb642ca3e32bc4255ac9
new file mode 100644
index 00000000..b6674c8d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b69facd6672e02c60ca0eb642ca3e32bc4255ac9
@@ -0,0 +1,2 @@
+d\\\\\\\\\\!\;\\
+pt
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/b739fbbab3e69556c55780f50cff63a692955024 b/fuzz/wget_netrc_fuzzer.in/b739fbbab3e69556c55780f50cff63a692955024
new file mode 100644
index 00000000..45427d91
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b739fbbab3e69556c55780f50cff63a692955024
@@ -0,0 +1,33 @@
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+#
+l
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/b74abd61661426884de89221dd85b2015c65ac45 b/fuzz/wget_netrc_fuzzer.in/b74abd61661426884de89221dd85b2015c65ac45
new file mode 100644
index 00000000..1aba2cbb
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b74abd61661426884de89221dd85b2015c65ac45
@@ -0,0 +1,11 @@
+
+machine
+password
+password
+password
+password
+password
+password
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/b7eb1a38e382701351a9148c14b0f7282399ff96 b/fuzz/wget_netrc_fuzzer.in/b7eb1a38e382701351a9148c14b0f7282399ff96
new file mode 100644
index 00000000..69c64428
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/b7eb1a38e382701351a9148c14b0f7282399ff96 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/b84ffbbabe5d27816d1cf9e5c6bdb670b13eb662 b/fuzz/wget_netrc_fuzzer.in/b84ffbbabe5d27816d1cf9e5c6bdb670b13eb662
new file mode 100644
index 00000000..85f1dfda
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b84ffbbabe5d27816d1cf9e5c6bdb670b13eb662
@@ -0,0 +1,5 @@
+#
+ma*
+ : c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/b966c2e50326fb85b64d94c96a9ab74baf889ba5 b/fuzz/wget_netrc_fuzzer.in/b966c2e50326fb85b64d94c96a9ab74baf889ba5
new file mode 100644
index 00000000..69d6f923
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/b966c2e50326fb85b64d94c96a9ab74baf889ba5
@@ -0,0 +1,8 @@
+machine lt machine *.
+machine a
+machine
+machine p machine loy machine
+machine ey machine
+machine J
+machine
+machine ie
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/be8200c58433cba1678df2e372c2e0f615702593 b/fuzz/wget_netrc_fuzzer.in/be8200c58433cba1678df2e372c2e0f615702593
new file mode 100644
index 00000000..34c174ab
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/be8200c58433cba1678df2e372c2e0f615702593
@@ -0,0 +1,130 @@
+defaupasslogint f:rce T
+forcey
+m!ches)
+naipsword
+password
+password
+passworsword
+password
+password
+passvord
+prce T
+forcey
+m!ches
+naipsword
+password
+password
+passworsword
+password
+password
+password
+password
+password
+pa(sword
+password
+:assword
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sassword
+password
+pa(sword
+password
+:assword
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspassword
+password
+password
+password
+password
+password
+pa(sword
+pasrsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+passord
+pa(sword
+password
+password
+password
+password
+password
+passassword
+password
+password
+password
+password
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/bf8894d15c1afb74eee6282c73267f4102b49bdd b/fuzz/wget_netrc_fuzzer.in/bf8894d15c1afb74eee6282c73267f4102b49bdd
new file mode 100644
index 00000000..b160d440
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/bf8894d15c1afb74eee6282c73267f4102b49bdd
@@ -0,0 +1,2 @@
+default
+force y
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/bff5bb70a6f54f0a12cdd9e60201f99b0f4de9e0 b/fuzz/wget_netrc_fuzzer.in/bff5bb70a6f54f0a12cdd9e60201f99b0f4de9e0
new file mode 100644
index 00000000..8be23c7f
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/bff5bb70a6f54f0a12cdd9e60201f99b0f4de9e0 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/c0b2678fdb0f8bef6f11441ff9dcc635cd53f88b b/fuzz/wget_netrc_fuzzer.in/c0b2678fdb0f8bef6f11441ff9dcc635cd53f88b
new file mode 100644
index 00000000..d241e860
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c0b2678fdb0f8bef6f11441ff9dcc635cd53f88b
@@ -0,0 +1,17 @@
+#
+machine x.y login y pass!word x
+ine x.y logiw y password x
+#
+machine word x
+#
+machine xd x
+#
+mac.e x.y login y password x
+#
+machine xd x
+#
+machine x x.e x.y login y password x
+#
+machine xd x
+#
+machichex.in y login y passw
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/c2ddb3f73fbbfcebf80a82ef146512c0bf3772f0 b/fuzz/wget_netrc_fuzzer.in/c2ddb3f73fbbfcebf80a82ef146512c0bf3772f0
new file mode 100644
index 00000000..7d50dc87
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/c2ddb3f73fbbfcebf80a82ef146512c0bf3772f0 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/c3ddf27e9b42f37775d4945cba001437f49037a3 b/fuzz/wget_netrc_fuzzer.in/c3ddf27e9b42f37775d4945cba001437f49037a3
new file mode 100644
index 00000000..bd33b027
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c3ddf27e9b42f37775d4945cba001437f49037a3
@@ -0,0 +1,148 @@
+#
+m(chichine
+
+:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+achine
+login
+machinehine
+login
+man
+machic:ogin
+achine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machinh
+login
+machine
+login
+default
+login
+machachine
+login
+machine
+login
+default
+login
+machine
+
+sword x
+#
+machine (.y login y password x
+m
+dehinelogyn bo:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+man
+machine
+
+:ogin
+m'ac:ogin
+machine
+login
+maogine
+login
+default
+loginmc
+a
+hine
+logiw
+machine
+logi
+login
+magchinehinemachine
+login
+login
+machine
+login
+deault
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+man
+machine
+
+:chine
+login
+defauldefault
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+man
+machine
+
+:ogin
+mac:ine
+login
+default
+login
+machine
+
+:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machine
+login
+machinehine
+login
+man
+machine
+
+:ogin
+mac:ogin
+machine
+login
+maogine
+login
+default
+login
+
+machine
+login
+machinh
+login
+machine
+lt
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/c485882c630183ad6217ee16002793daba7bf324 b/fuzz/wget_netrc_fuzzer.in/c485882c630183ad6217ee16002793daba7bf324
new file mode 100644
index 00000000..cb3beef1
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c485882c630183ad6217ee16002793daba7bf324
@@ -0,0 +1,16 @@
+#ma#
+machine x.y login y password
+machine a.b
+login
+machine x.y login y password x
+ma
+ c1 a
+ login c2 z
+ b
+password a
+magdef m!
+ c1 a
+ c2 b
+
+macdeff dict=libwget_2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/c65640ebcc68b06dceb6c6b569ca13e670f4c43f b/fuzz/wget_netrc_fuzzer.in/c65640ebcc68b06dceb6c6b569ca13e670f4c43f
new file mode 100644
index 00000000..fbf58a12
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c65640ebcc68b06dceb6c6b569ca13e670f4c43f
@@ -0,0 +1,10 @@
+
+in
+login
+logi*nn
+login
+login
+login
+login
+login
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/c6b3c1f86b7c7b6dbfeaa5a9e11051ce1d2597d6 b/fuzz/wget_netrc_fuzzer.in/c6b3c1f86b7c7b6dbfeaa5a9e11051ce1d2597d6
new file mode 100644
index 00000000..d5b99d8c
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c6b3c1f86b7c7b6dbfeaa5a9e11051ce1d2597d6
@@ -0,0 +1,4 @@
+default force G
+force G
+force G
+force G
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/c6dd6140d85257fc8f42a202a1ca3ff8d6e22264 b/fuzz/wget_netrc_fuzzer.in/c6dd6140d85257fc8f42a202a1ca3ff8d6e22264
new file mode 100644
index 00000000..f51a4575
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/c6dd6140d85257fc8f42a202a1ca3ff8d6e22264 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/c6f55903c51da17ac440e1b0ce8730591bc9b791 b/fuzz/wget_netrc_fuzzer.in/c6f55903c51da17ac440e1b0ce8730591bc9b791
new file mode 100644
index 00000000..5a07074e
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/c6f55903c51da17ac440e1b0ce8730591bc9b791 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/c71c0685827ae3b092cca775cd94815a0a66b30a b/fuzz/wget_netrc_fuzzer.in/c71c0685827ae3b092cca775cd94815a0a66b30a
new file mode 100644
index 00000000..c6d72f99
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c71c0685827ae3b092cca775cd94815a0a66b30a
@@ -0,0 +1,4 @@
+defalt force G
+force G
+force G
+force G
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/c73dd75d60922a0dc0c73a9cbe20a5342c6dbaf4 b/fuzz/wget_netrc_fuzzer.in/c73dd75d60922a0dc0c73a9cbe20a5342c6dbaf4
new file mode 100644
index 00000000..4dafd535
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/c73dd75d60922a0dc0c73a9cbe20a5342c6dbaf4 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/c7ebe35632bdd05d360dfc6b42168782cf650a2b b/fuzz/wget_netrc_fuzzer.in/c7ebe35632bdd05d360dfc6b42168782cf650a2b
new file mode 100644
index 00000000..254af7d3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c7ebe35632bdd05d360dfc6b42168782cf650a2b
@@ -0,0 +1,5 @@
+default default default default
+default default default default default default default default
+default default default default default default
+default default default default default default default default
+default default default default default
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/c84254e696a671b771eb50420182aeab6ea37bb7 b/fuzz/wget_netrc_fuzzer.in/c84254e696a671b771eb50420182aeab6ea37bb7
new file mode 100644
index 00000000..b7f7b4a2
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/c84254e696a671b771eb50420182aeab6ea37bb7
@@ -0,0 +1,10 @@
+#
+machine x.y login y password x
+#
+machine x.y login y password x
+maceine achine x.y login y password x
+#
+machine x.y login y password x
+maceine a.bma
+logya.bma
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/cda3c2bdd6c41fe4627733f2c3184ddf98c43f44 b/fuzz/wget_netrc_fuzzer.in/cda3c2bdd6c41fe4627733f2c3184ddf98c43f44
new file mode 100644
index 00000000..ded00e60
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/cda3c2bdd6c41fe4627733f2c3184ddf98c43f44
@@ -0,0 +1,5 @@
+#
+macpine y password x
+ma y password x
+ma c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/cea11167044e436757acd7aa170383652fb2de59 b/fuzz/wget_netrc_fuzzer.in/cea11167044e436757acd7aa170383652fb2de59
new file mode 100644
index 00000000..20d3f6e8
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/cea11167044e436757acd7aa170383652fb2de59
@@ -0,0 +1,82 @@
+default
+!
+login
+
+login
+login
+login
+
+logni
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+lon
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+logdefault
+!
+login
+
+login
+login
+login
+
+logni
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+lon
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+
+login
+login
+
+login
+login
+
diff --git a/fuzz/wget_netrc_fuzzer.in/cfa66cce63d12cb7aa22d2a79d6ca83a63c51e91 b/fuzz/wget_netrc_fuzzer.in/cfa66cce63d12cb7aa22d2a79d6ca83a63c51e91
new file mode 100644
index 00000000..3f02b0b5
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/cfa66cce63d12cb7aa22d2a79d6ca83a63c51e91
@@ -0,0 +1,17 @@
+machine
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d0013efe634f5794f5bd6d2d8e58ba3bfb3358f5 b/fuzz/wget_netrc_fuzzer.in/d0013efe634f5794f5bd6d2d8e58ba3bfb3358f5
new file mode 100644
index 00000000..942b7c8d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d0013efe634f5794f5bd6d2d8e58ba3bfb3358f5
@@ -0,0 +1,17 @@
+
+machine
+password
+machine 2
+password
+machine
+password
+machine
+password
+machine
+password
+machine
+password
+machine
+password
+machine
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d05e0d745a52050d5dd8009dcebe93850a2d52eb b/fuzz/wget_netrc_fuzzer.in/d05e0d745a52050d5dd8009dcebe93850a2d52eb
new file mode 100644
index 00000000..5a1f0418
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d05e0d745a52050d5dd8009dcebe93850a2d52eb differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d0d96ead14b97e0e35a1c4dff783e43b17d3b247 b/fuzz/wget_netrc_fuzzer.in/d0d96ead14b97e0e35a1c4dff783e43b17d3b247
new file mode 100644
index 00000000..db573484
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d0d96ead14b97e0e35a1c4dff783e43b17d3b247 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d16bbe2bba5981016c2e4aff8f6376561c9573dd b/fuzz/wget_netrc_fuzzer.in/d16bbe2bba5981016c2e4aff8f6376561c9573dd
new file mode 100644
index 00000000..1d95c5db
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d16bbe2bba5981016c2e4aff8f6376561c9573dd
@@ -0,0 +1,7 @@
+machine
+machine #
+machine :pv machine *.machine
+machine p machine loy machine
+machine ;y machine
+machine mo
+machine i
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d2d24c62d5cebc557a4df1c95cef1c7d0320ee12 b/fuzz/wget_netrc_fuzzer.in/d2d24c62d5cebc557a4df1c95cef1c7d0320ee12
new file mode 100644
index 00000000..e60de303
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d2d24c62d5cebc557a4df1c95cef1c7d0320ee12
@@ -0,0 +1,2 @@
+machine
+force Ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d381fe32edfda1ad44c78392f856ce432a5bce72 b/fuzz/wget_netrc_fuzzer.in/d381fe32edfda1ad44c78392f856ce432a5bce72
new file mode 100644
index 00000000..72f563ae
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d381fe32edfda1ad44c78392f856ce432a5bce72
@@ -0,0 +1,2 @@
+machine f
+machine machine f machine f machine f
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d442e7478dda274b62c4a92b63b958421fef5e0e b/fuzz/wget_netrc_fuzzer.in/d442e7478dda274b62c4a92b63b958421fef5e0e
new file mode 100644
index 00000000..d1356092
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d442e7478dda274b62c4a92b63b958421fef5e0e differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d4aef1bdb5e72f2fbc476b902eac3a5f2cae6b58 b/fuzz/wget_netrc_fuzzer.in/d4aef1bdb5e72f2fbc476b902eac3a5f2cae6b58
new file mode 100644
index 00000000..a472d28f
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d4aef1bdb5e72f2fbc476b902eac3a5f2cae6b58
@@ -0,0 +1,11 @@
+m
+force
+force ye
+fachine
+force ye
+forc ye
+force yeforce ye
+force ye
+force ye
+force ye
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d5a69d87e16de4658d44e89532e7fb37e2994180 b/fuzz/wget_netrc_fuzzer.in/d5a69d87e16de4658d44e89532e7fb37e2994180
new file mode 100644
index 00000000..4e9ba264
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d5a69d87e16de4658d44e89532e7fb37e2994180 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d5d786cc1049ea4452530fe42f1c1bca5d52bc15 b/fuzz/wget_netrc_fuzzer.in/d5d786cc1049ea4452530fe42f1c1bca5d52bc15
new file mode 100644
index 00000000..c49512f6
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d5d786cc1049ea4452530fe42f1c1bca5d52bc15
@@ -0,0 +1,33 @@
+machine
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d65d457bf8a9a071a83207e970abb19bf13307bc b/fuzz/wget_netrc_fuzzer.in/d65d457bf8a9a071a83207e970abb19bf13307bc
new file mode 100644
index 00000000..66b15c65
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d65d457bf8a9a071a83207e970abb19bf13307bc differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d6989ed096df5c611849360c60508dee8d78bb2a b/fuzz/wget_netrc_fuzzer.in/d6989ed096df5c611849360c60508dee8d78bb2a
new file mode 100644
index 00000000..82fc9543
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d6989ed096df5c611849360c60508dee8d78bb2a differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d6c655bd9b640ead4fa488f134783f7456b2b0af b/fuzz/wget_netrc_fuzzer.in/d6c655bd9b640ead4fa488f134783f7456b2b0af
new file mode 100644
index 00000000..29df3b1d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d6c655bd9b640ead4fa488f134783f7456b2b0af
@@ -0,0 +1,19 @@
+machine n
+machine
+machine p
+machine #
+machine
+machine e machine a
+machine J
+machine
+machine
+machine y
+machine .
+machine machine xy
+machine x
+machine ut
+machine u
+machine t machine l
+machine d
+machine x.
+machine default machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d74c7c2272b9788c4aa502c294294bf1cb9da3ac b/fuzz/wget_netrc_fuzzer.in/d74c7c2272b9788c4aa502c294294bf1cb9da3ac
new file mode 100644
index 00000000..db0ff03a
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d74c7c2272b9788c4aa502c294294bf1cb9da3ac differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d7937cdf9c3ddf67f04887ccceeb7892eb48bf9a b/fuzz/wget_netrc_fuzzer.in/d7937cdf9c3ddf67f04887ccceeb7892eb48bf9a
new file mode 100644
index 00000000..72c438f3
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/d7937cdf9c3ddf67f04887ccceeb7892eb48bf9a
@@ -0,0 +1,6 @@
+#
+machine x.y login y password x
+#
+machine (.y login y password x
+machine a.bma
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/d8d5d510e8e6593f1b3cf449d4a8d56f82a0f2b1 b/fuzz/wget_netrc_fuzzer.in/d8d5d510e8e6593f1b3cf449d4a8d56f82a0f2b1
new file mode 100644
index 00000000..6b325cc2
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d8d5d510e8e6593f1b3cf449d4a8d56f82a0f2b1 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/d964729630244b47d26702ef21264d4b88b69830 b/fuzz/wget_netrc_fuzzer.in/d964729630244b47d26702ef21264d4b88b69830
new file mode 100644
index 00000000..bf68ab99
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/d964729630244b47d26702ef21264d4b88b69830 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/dafb80a752875a9eb5b01c818ced4a90df75ab89 b/fuzz/wget_netrc_fuzzer.in/dafb80a752875a9eb5b01c818ced4a90df75ab89
new file mode 100644
index 00000000..066f297f
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/dafb80a752875a9eb5b01c818ced4a90df75ab89 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/db10e4e75f96f62f482ee681a2faf346814367cb b/fuzz/wget_netrc_fuzzer.in/db10e4e75f96f62f482ee681a2faf346814367cb
new file mode 100644
index 00000000..88a1df67
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/db10e4e75f96f62f482ee681a2faf346814367cb differ
diff --git a/fuzz/wget_netrc_fuzzer.in/dc5ba15afafbe67414ea933c6a979f1f9865a22e b/fuzz/wget_netrc_fuzzer.in/dc5ba15afafbe67414ea933c6a979f1f9865a22e
new file mode 100644
index 00000000..0293dfa5
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/dc5ba15afafbe67414ea933c6a979f1f9865a22e
@@ -0,0 +1,4 @@
+machine
+port
+port
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/dd85bba079c222b130a9d23844fe39c885ba0a43 b/fuzz/wget_netrc_fuzzer.in/dd85bba079c222b130a9d23844fe39c885ba0a43
new file mode 100644
index 00000000..ad230cf7
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/dd85bba079c222b130a9d23844fe39c885ba0a43
@@ -0,0 +1,7 @@
+mrce ye
+'orce ye
+force yeforce ye
+force ye
+force ye
+force ye
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/de447b5c802db390c79c937a402b0b733a137847 b/fuzz/wget_netrc_fuzzer.in/de447b5c802db390c79c937a402b0b733a137847
new file mode 100644
index 00000000..732fc531
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/de447b5c802db390c79c937a402b0b733a137847
@@ -0,0 +1,157 @@
+defaupasslogint force T
+forcey
+m!chine
+password
+password
+password
+passworsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspmachineassword
+password
+p(sword
+password
+paupasslogint force T
+forcey
+m!chine
+password
+password
+password
+passworsword
+password
+password
+password
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paspassword
+password
+password
+password
+password
+password
+pa
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspmachineassword
+password
+p(sword
+password
+password
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspmachineassword
+password
+password
+password
+password
+password
+pa(sword
+password
+assword
+password
+password
+password
+passwo'rd
+password
+password
+paassword
+password
+passwod
+password
+password
+pa(sword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+pcspmachineassword
+password
+password
+password
+password
+password
+pa(sword
+password
+assword
+password
+password
+password
+passwo'rd
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/dea1fdc55a98804611158677a4c5b4d69e861034 b/fuzz/wget_netrc_fuzzer.in/dea1fdc55a98804611158677a4c5b4d69e861034
new file mode 100644
index 00000000..0025b051
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/dea1fdc55a98804611158677a4c5b4d69e861034
@@ -0,0 +1,32 @@
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
+machine
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/df8b243ea737809cca6f19e6cdd29a2c07059a6c b/fuzz/wget_netrc_fuzzer.in/df8b243ea737809cca6f19e6cdd29a2c07059a6c
new file mode 100644
index 00000000..ad3d2a4e
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/df8b243ea737809cca6f19e6cdd29a2c07059a6c
@@ -0,0 +1 @@
+dlogi\\\\\\\\\\U\\\\\\\\U\\\\\\\\\\\t
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/dfd21c32b7858bbe82de38c9acc57bee7c3260ee b/fuzz/wget_netrc_fuzzer.in/dfd21c32b7858bbe82de38c9acc57bee7c3260ee
new file mode 100644
index 00000000..e0faf3b1
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/dfd21c32b7858bbe82de38c9acc57bee7c3260ee differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e008c2605c80bd389203b2875019838fbe5dc140 b/fuzz/wget_netrc_fuzzer.in/e008c2605c80bd389203b2875019838fbe5dc140
new file mode 100644
index 00000000..ea2bb8ce
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e008c2605c80bd389203b2875019838fbe5dc140 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e11e67e65e740f58b17e115348292b03c9cb3363 b/fuzz/wget_netrc_fuzzer.in/e11e67e65e740f58b17e115348292b03c9cb3363
new file mode 100644
index 00000000..698e368d
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e11e67e65e740f58b17e115348292b03c9cb3363
@@ -0,0 +1 @@
+""') """""""""e
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e12f12e6e68feceea12a4a48d1062edd3919bc68 b/fuzz/wget_netrc_fuzzer.in/e12f12e6e68feceea12a4a48d1062edd3919bc68
new file mode 100644
index 00000000..186929e4
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e12f12e6e68feceea12a4a48d1062edd3919bc68
@@ -0,0 +1 @@
+"ordc
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e1b99a447eb855a7aef6e0782a3fc76bbd45c30f b/fuzz/wget_netrc_fuzzer.in/e1b99a447eb855a7aef6e0782a3fc76bbd45c30f
new file mode 100644
index 00000000..b5f58cf9
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e1b99a447eb855a7aef6e0782a3fc76bbd45c30f differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e316feaea318483182e908b7ff3cf945bfac2644 b/fuzz/wget_netrc_fuzzer.in/e316feaea318483182e908b7ff3cf945bfac2644
new file mode 100644
index 00000000..357a9b9e
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e316feaea318483182e908b7ff3cf945bfac2644
@@ -0,0 +1,19 @@
+y
+machine
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e33564dbb21a7fd051729f3a48c12647ddb46fb3 b/fuzz/wget_netrc_fuzzer.in/e33564dbb21a7fd051729f3a48c12647ddb46fb3
new file mode 100644
index 00000000..dd1ceaf6
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e33564dbb21a7fd051729f3a48c12647ddb46fb3
@@ -0,0 +1,18 @@
+#
+macdefmachine x.y login assword a
+macdef m
+ c1 a
+ c2 b
+
+macdefy password x
+machine a.b
+logyn b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef mm
+ c1 a
+ c2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/e39b9b31b0408ccd0f5bfdeac12d89de37364f8b b/fuzz/wget_netrc_fuzzer.in/e39b9b31b0408ccd0f5bfdeac12d89de37364f8b
new file mode 100644
index 00000000..3beb9471
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e39b9b31b0408ccd0f5bfdeac12d89de37364f8b
@@ -0,0 +1,7 @@
+machine
+machine m machine
+machine
+machine *. machine xo default machine ut
+machine x
+machine x.y
+machine x,) machine .
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e3f051af3f3456fb8a9b8b6b0bef4e838f34dcd3 b/fuzz/wget_netrc_fuzzer.in/e3f051af3f3456fb8a9b8b6b0bef4e838f34dcd3
new file mode 100644
index 00000000..3760cf10
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e3f051af3f3456fb8a9b8b6b0bef4e838f34dcd3
@@ -0,0 +1,3 @@
+" ""c
+"orf"erce
+for
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e43933edcd1b9e631221d87b542841e3c43d8409 b/fuzz/wget_netrc_fuzzer.in/e43933edcd1b9e631221d87b542841e3c43d8409
new file mode 100644
index 00000000..91b91aef
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e43933edcd1b9e631221d87b542841e3c43d8409 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e44f31c26fd194c66bebe9a3990388ef4b5b4712 b/fuzz/wget_netrc_fuzzer.in/e44f31c26fd194c66bebe9a3990388ef4b5b4712
new file mode 100644
index 00000000..421efe17
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e44f31c26fd194c66bebe9a3990388ef4b5b4712 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e4d3ff4faa3009c27e2b40c24ebd39e0cd5f9566 b/fuzz/wget_netrc_fuzzer.in/e4d3ff4faa3009c27e2b40c24ebd39e0cd5f9566
new file mode 100644
index 00000000..7f85ee1b
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e4d3ff4faa3009c27e2b40c24ebd39e0cd5f9566 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e511e6711fd4c2a8870a98366e596b5fc71d4f73 b/fuzz/wget_netrc_fuzzer.in/e511e6711fd4c2a8870a98366e596b5fc71d4f73
new file mode 100644
index 00000000..975bd34a
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e511e6711fd4c2a8870a98366e596b5fc71d4f73 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e5de477292731f2425daf61a15088cd2a22f7c46 b/fuzz/wget_netrc_fuzzer.in/e5de477292731f2425daf61a15088cd2a22f7c46
new file mode 100644
index 00000000..f23fe855
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e5de477292731f2425daf61a15088cd2a22f7c46
@@ -0,0 +1,19 @@
+default
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e5f9ef64d7b9a29f9ee3e435fc9bf494a1c9b87a b/fuzz/wget_netrc_fuzzer.in/e5f9ef64d7b9a29f9ee3e435fc9bf494a1c9b87a
new file mode 100644
index 00000000..f6427189
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e5f9ef64d7b9a29f9ee3e435fc9bf494a1c9b87a
@@ -0,0 +1,295 @@
+dpasssw
+!
+login
+
+lo
+login
+login
+
+lmassw
+!
+login
+
+lo
+login
+login
+
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+lin
+login
+login
+login
+login
+defaultln
+login
+login
+login
+login
+login
+login
+login
+lin
+login
+login
+login
+login
+defaultlogin
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logdefaultin
+login
+ogin
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logdefaultin
+login
+ogin
+login
+login
+
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logdefaultin
+login
+ogin
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logdefaultin
+login
+ogin
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+loginin
+login
+logiogin
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+in
+login
+defaultlogin
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logio
+
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+defaultlogin
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logdefaultin
+login
+ogin
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+logdefaultin
+login
+ogin
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+lon
+login
+login
+login
+login
+login
+login
+
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+login
+
diff --git a/fuzz/wget_netrc_fuzzer.in/e620df9dd1601da6e9daa8cca35512396e6c0566 b/fuzz/wget_netrc_fuzzer.in/e620df9dd1601da6e9daa8cca35512396e6c0566
new file mode 100644
index 00000000..b853133b
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e620df9dd1601da6e9daa8cca35512396e6c0566
@@ -0,0 +1,11 @@
+#
+machine x.y login y password x
+machine a.b
+login b
+password a
+macdef m
+ c1 a
+ c2 b
+
+macdef dict=libwget_2 z
+
diff --git a/fuzz/wget_netrc_fuzzer.in/e67d8a55bf0b4f09dc066499b42c5625d744e453 b/fuzz/wget_netrc_fuzzer.in/e67d8a55bf0b4f09dc066499b42c5625d744e453
new file mode 100644
index 00000000..24f920e2
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e67d8a55bf0b4f09dc066499b42c5625d744e453
@@ -0,0 +1 @@
+default port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e755e0ccce2bd1082b0d41a9b04aaf583990efe2 b/fuzz/wget_netrc_fuzzer.in/e755e0ccce2bd1082b0d41a9b04aaf583990efe2
new file mode 100644
index 00000000..eaaabb93
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e755e0ccce2bd1082b0d41a9b04aaf583990efe2 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/e8b344293a292d4f36f6744eb392cea3afb94751 b/fuzz/wget_netrc_fuzzer.in/e8b344293a292d4f36f6744eb392cea3afb94751
new file mode 100644
index 00000000..3ed4c039
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/e8b344293a292d4f36f6744eb392cea3afb94751
@@ -0,0 +1,4 @@
+machine f
+machine
+machine f
+machine f
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/e9a34cf90eef8b98ee35884d2ca167409b81401e b/fuzz/wget_netrc_fuzzer.in/e9a34cf90eef8b98ee35884d2ca167409b81401e
new file mode 100644
index 00000000..107e5919
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/e9a34cf90eef8b98ee35884d2ca167409b81401e differ
diff --git a/fuzz/wget_netrc_fuzzer.in/ea0049626d1032f6b1853fb1efa429f355c7b53b b/fuzz/wget_netrc_fuzzer.in/ea0049626d1032f6b1853fb1efa429f355c7b53b
new file mode 100644
index 00000000..7b7e02f6
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/ea0049626d1032f6b1853fb1efa429f355c7b53b differ
diff --git a/fuzz/wget_netrc_fuzzer.in/eb824f4573ab7cf62666e8ae036f6fc6856ba397 b/fuzz/wget_netrc_fuzzer.in/eb824f4573ab7cf62666e8ae036f6fc6856ba397
new file mode 100644
index 00000000..a644e467
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/eb824f4573ab7cf62666e8ae036f6fc6856ba397
@@ -0,0 +1,11 @@
+
+machine x.y login y password x
+#
+machine x.y login y password x
+machine a.bma
+logyn b#
+machine x.y login y password x
+#
+machine x.y login y password x
+machine a.bma
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/ed11617b8f647502fbc732effba1244298b42d86 b/fuzz/wget_netrc_fuzzer.in/ed11617b8f647502fbc732effba1244298b42d86
new file mode 100644
index 00000000..87fae359
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/ed11617b8f647502fbc732effba1244298b42d86 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/ed5abfa2466bcbc5b5098f8ef3f982275345f853 b/fuzz/wget_netrc_fuzzer.in/ed5abfa2466bcbc5b5098f8ef3f982275345f853
new file mode 100644
index 00000000..149cc5c4
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/ed5abfa2466bcbc5b5098f8ef3f982275345f853
@@ -0,0 +1,36 @@
+y
+machine
+password
+password
+password
+password
+password
+password
+pass
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
+paword
+password
+password
+password
+password
+password
+password
+password
+password
+password
+password
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/eda33a00021d52f5ac4b9081a27e2c5246dcf7f7 b/fuzz/wget_netrc_fuzzer.in/eda33a00021d52f5ac4b9081a27e2c5246dcf7f7
new file mode 100644
index 00000000..36fdee8a
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/eda33a00021d52f5ac4b9081a27e2c5246dcf7f7 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/edee563ad465138f5057bf4585fe7778cf4e62b1 b/fuzz/wget_netrc_fuzzer.in/edee563ad465138f5057bf4585fe7778cf4e62b1
new file mode 100644
index 00000000..3587dde7
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/edee563ad465138f5057bf4585fe7778cf4e62b1 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/f09fef8ec793f20161e36d643ec5732dbacf0a32 b/fuzz/wget_netrc_fuzzer.in/f09fef8ec793f20161e36d643ec5732dbacf0a32
new file mode 100644
index 00000000..39516bca
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f09fef8ec793f20161e36d643ec5732dbacf0a32
@@ -0,0 +1,9 @@
+default
+force
+force
+force
+force
+force
+force
+force
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f1109c2fadb4e7478b0b9135703bbcab6d4efdee b/fuzz/wget_netrc_fuzzer.in/f1109c2fadb4e7478b0b9135703bbcab6d4efdee
new file mode 100644
index 00000000..67492f65
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f1109c2fadb4e7478b0b9135703bbcab6d4efdee
@@ -0,0 +1,16 @@
+machine
+login
+machine
+login
+machine
+login
+default
+login
+machine
+login
+machine
+login
+machine
+login
+default
+login
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f210c57136d660b453762b571c78f426e86b2695 b/fuzz/wget_netrc_fuzzer.in/f210c57136d660b453762b571c78f426e86b2695
new file mode 100644
index 00000000..89c569a1
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f210c57136d660b453762b571c78f426e86b2695
@@ -0,0 +1,14 @@
+#
+machine x.y login y pass!word x
+ine x.y logiw y password x
+#
+machine x.e x.y logn y passwor#
+machine x.e x.y login y password x
+#
+machine xd x
+#
+machine x x.e x.y login y password x
+#
+machine xd x
+#
+machichex.in y login y passw
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f21269a144108fae23e47570f507719aa2c092f7 b/fuzz/wget_netrc_fuzzer.in/f21269a144108fae23e47570f507719aa2c092f7
new file mode 100644
index 00000000..bb7f5e93
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f21269a144108fae23e47570f507719aa2c092f7
@@ -0,0 +1,5 @@
+machine
+force
+force
+force
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f295e28267a2b8fc55f31e6090cfadc7997a9a69 b/fuzz/wget_netrc_fuzzer.in/f295e28267a2b8fc55f31e6090cfadc7997a9a69
new file mode 100644
index 00000000..e1045e73
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/f295e28267a2b8fc55f31e6090cfadc7997a9a69 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/f30671f9522f7dfe085074a77f7a398c88ab7401 b/fuzz/wget_netrc_fuzzer.in/f30671f9522f7dfe085074a77f7a398c88ab7401
new file mode 100644
index 00000000..315e13f7
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/f30671f9522f7dfe085074a77f7a398c88ab7401 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/f3996140c527f1e9ebe7048b6bf245f5648579fb b/fuzz/wget_netrc_fuzzer.in/f3996140c527f1e9ebe7048b6bf245f5648579fb
new file mode 100644
index 00000000..a9159a54
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f3996140c527f1e9ebe7048b6bf245f5648579fb
@@ -0,0 +1,38 @@
+machine
+ort
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+port
+prt
+port
+port
+port
+port
+port
+port
+port
+port
+pyrt
+port
+port
+port
+port
+port
+port
+port
+port
+pors
+port
+t
+port
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f487697dd06b805a254b25cdfaa066a6a7752fd7 b/fuzz/wget_netrc_fuzzer.in/f487697dd06b805a254b25cdfaa066a6a7752fd7
new file mode 100644
index 00000000..ab7e8b1e
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/f487697dd06b805a254b25cdfaa066a6a7752fd7 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/f5ab71784844b624ea4550ff676edd9a2c8684ba b/fuzz/wget_netrc_fuzzer.in/f5ab71784844b624ea4550ff676edd9a2c8684ba
new file mode 100644
index 00000000..cb9fd2d9
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/f5ab71784844b624ea4550ff676edd9a2c8684ba differ
diff --git a/fuzz/wget_netrc_fuzzer.in/f5de89d8d904b6d88fd638a121a6f509f25be80e b/fuzz/wget_netrc_fuzzer.in/f5de89d8d904b6d88fd638a121a6f509f25be80e
new file mode 100644
index 00000000..4d3b7397
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f5de89d8d904b6d88fd638a121a6f509f25be80e
@@ -0,0 +1,5 @@
+machine x.
+machine m machine - machine * machine o default machine f
+machine
+machine t machine .t machine x
+machine Ks
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f653c6d195c136783d1c5f9731d8dd87ef3f5a06 b/fuzz/wget_netrc_fuzzer.in/f653c6d195c136783d1c5f9731d8dd87ef3f5a06
new file mode 100644
index 00000000..e05edef0
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f653c6d195c136783d1c5f9731d8dd87ef3f5a06
@@ -0,0 +1,5 @@
+machine
+force yeforce y
+force ye
+force yeforce y
+force ye
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/f785b8899155694caa110f91c1e39d90fd4f95bb b/fuzz/wget_netrc_fuzzer.in/f785b8899155694caa110f91c1e39d90fd4f95bb
new file mode 100644
index 00000000..61eb9079
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/f785b8899155694caa110f91c1e39d90fd4f95bb
@@ -0,0 +1,12 @@
+machine a
+machine m machine
+machine !
+machine }
+machine
+machine . default machine u
+machine d
+machine y
+machine xmachine ma machine $
+machine xy
+machine yd
+machine r
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/faa6fc3b60bc1543bce30b37df6002b27ca3c4fe b/fuzz/wget_netrc_fuzzer.in/faa6fc3b60bc1543bce30b37df6002b27ca3c4fe
new file mode 100644
index 00000000..2cc8a63f
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/faa6fc3b60bc1543bce30b37df6002b27ca3c4fe
@@ -0,0 +1,128 @@
+"
+
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+
+
+!
+
+
+a
+!
+
+
+
+!
+
+a
+!
+
+
+a
+
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
+
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
+!
+
+
+a
+
+:
+!
+
+
+a
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/fb87248bcc0d00775c831320dee0806a8440e992 b/fuzz/wget_netrc_fuzzer.in/fb87248bcc0d00775c831320dee0806a8440e992
new file mode 100644
index 00000000..22df10cf
Binary files /dev/null and b/fuzz/wget_netrc_fuzzer.in/fb87248bcc0d00775c831320dee0806a8440e992 differ
diff --git a/fuzz/wget_netrc_fuzzer.in/fcaafcf81aeccb884a745c2fd16d92521feb301b b/fuzz/wget_netrc_fuzzer.in/fcaafcf81aeccb884a745c2fd16d92521feb301b
new file mode 100644
index 00000000..d5193696
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/fcaafcf81aeccb884a745c2fd16d92521feb301b
@@ -0,0 +1,4 @@
+#
+machine x.y *login y password x
+#
+logyn b
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/fd3e1b0785261c8474ac0799ee28f5b6e5ea905c b/fuzz/wget_netrc_fuzzer.in/fd3e1b0785261c8474ac0799ee28f5b6e5ea905c
new file mode 100644
index 00000000..a4b00b4a
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/fd3e1b0785261c8474ac0799ee28f5b6e5ea905c
@@ -0,0 +1,4 @@
+default
+force
+force
+force
\ No newline at end of file
diff --git a/fuzz/wget_netrc_fuzzer.in/fe6d62fd18b026ef7e2b5ef2ba454192b1962884 b/fuzz/wget_netrc_fuzzer.in/fe6d62fd18b026ef7e2b5ef2ba454192b1962884
new file mode 100644
index 00000000..22c1235e
--- /dev/null
+++ b/fuzz/wget_netrc_fuzzer.in/fe6d62fd18b026ef7e2b5ef2ba454192b1962884
@@ -0,0 +1,8 @@
+machine lt machine yine
+machine mne
+machine
+machine p machine loy
+machinemachine e( machine
+machine J
+machine
+machine i
\ No newline at end of file
diff --git a/src/ftp.c b/src/ftp.c
index f11a9be0..69148936 100644
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -384,7 +384,7 @@ getftp (struct url *u, struct url *original_url,
/* Check for ~/.netrc if none of the above match */
if (opt.netrc && (!user || !passwd))
- search_netrc (u->host, (const char **) &user, (const char **) &passwd, 1);
+ search_netrc (u->host, (const char **) &user, (const char **) &passwd, 1, NULL);
if (!user) user = "anonymous";
if (!passwd) passwd = "-wget@";
diff --git a/src/http.c b/src/http.c
index 258e0690..c8960f11 100644
--- a/src/http.c
+++ b/src/http.c
@@ -1927,7 +1927,7 @@ initialize_request (const struct url *u, struct http_stat *hs, int *dt, struct u
/* Check for ~/.netrc if none of the above match */
if (opt.netrc && (!*user || !*passwd))
- search_netrc (u->host, (const char **) user, (const char **) passwd, 0);
+ search_netrc (u->host, (const char **) user, (const char **) passwd, 0, NULL);
/* We only do "site-wide" authentication with "global" user/password
* values unless --auth-no-challenge has been requested; URL user/password
diff --git a/src/netrc.c b/src/netrc.c
index a1c1628e..30a4bd55 100644
--- a/src/netrc.c
+++ b/src/netrc.c
@@ -48,14 +48,27 @@ as that of the covered work. */
# define NETRC_FILE_NAME ".netrc"
#endif
-static acc_t *netrc_list;
+typedef struct _acc_t
+{
+ char *host; /* NULL if this is the default machine
+ entry. */
+ char *acc;
+ char *passwd; /* NULL if there is no password. */
+ struct _acc_t *next;
+} acc_t;
static acc_t *parse_netrc (const char *);
+static acc_t *parse_netrc_fp (const char *, FILE *);
+static void free_netrc(acc_t *);
+
+static acc_t *netrc_list;
+static int processed_netrc;
void
netrc_cleanup(void)
{
free_netrc (netrc_list);
+ processed_netrc = 0;
}
/* Return the correct user and password, given the host, user (as
@@ -66,10 +79,9 @@ netrc_cleanup(void)
You will typically turn it off for HTTP. */
void
search_netrc (const char *host, const char **acc, const char **passwd,
- int slack_default)
+ int slack_default, FILE *fp_netrc)
{
acc_t *l;
- static int processed_netrc;
if (!opt.netrc)
return;
@@ -93,15 +105,16 @@ search_netrc (const char *host, const char **acc, const char **passwd,
netrc_list = NULL;
processed_netrc = 1;
- if (opt.homedir)
+
+ if (fp_netrc)
+ netrc_list = parse_netrc_fp (".netrc", fp_netrc);
+ else if (opt.homedir)
{
- int err;
struct stat buf;
char *path = (char *)alloca (strlen (opt.homedir) + 1
+ strlen (NETRC_FILE_NAME) + 1);
sprintf (path, "%s/%s", opt.homedir, NETRC_FILE_NAME);
- err = stat (path, &buf);
- if (err == 0)
+ if (stat (path, &buf) == 0)
netrc_list = parse_netrc (path);
}
@@ -224,13 +237,12 @@ shift_left(char *string)
/* Parse a .netrc file (as described in the ftp(1) manual page). */
static acc_t *
-parse_netrc (const char *path)
+parse_netrc_fp (const char *path, FILE *fp)
{
- FILE *fp;
char *line = NULL, *p, *tok;
- const char *premature_token;
- acc_t *current, *retval;
- int ln, qmark;
+ const char *premature_token = NULL;
+ acc_t *current = NULL, *retval = NULL;
+ int ln = 0, qmark;
size_t bufsize = 0;
/* The latest token we've seen in the file. */
@@ -239,20 +251,6 @@ parse_netrc (const char *path)
tok_nothing, tok_account, tok_login, tok_macdef, tok_machine, tok_password, tok_port, tok_force
} last_token = tok_nothing;
- current = retval = NULL;
-
- fp = fopen (path, "r");
- if (!fp)
- {
- fprintf (stderr, _("%s: Cannot read %s (%s).\n"), exec_name,
- path, strerror (errno));
- return retval;
- }
-
- /* Initialize the file data. */
- ln = 0;
- premature_token = NULL;
-
/* While there are lines in the file... */
while (getline (&line, &bufsize, fp) > 0)
{
@@ -412,7 +410,6 @@ parse_netrc (const char *path)
}
xfree (line);
- fclose (fp);
/* Finalize the last machine entry we found. */
maybe_add_to_list (¤t, &retval);
@@ -437,9 +434,28 @@ parse_netrc (const char *path)
return retval;
}
+static acc_t *
+parse_netrc (const char *path)
+{
+ FILE *fp;
+ acc_t *acc;
+
+ fp = fopen (path, "r");
+ if (!fp)
+ {
+ fprintf (stderr, _("%s: Cannot read %s (%s).\n"), exec_name,
+ path, strerror (errno));
+ return NULL;
+ }
+
+ acc = parse_netrc_fp (path, fp);
+ fclose(fp);
+
+ return acc;
+}
/* Free a netrc list. */
-void
+static void
free_netrc(acc_t *l)
{
acc_t *t;
diff --git a/src/netrc.h b/src/netrc.h
index 045b522f..d7fcc64e 100644
--- a/src/netrc.h
+++ b/src/netrc.h
@@ -31,17 +31,9 @@ as that of the covered work. */
#ifndef NETRC_H
#define NETRC_H
-typedef struct _acc_t
-{
- char *host; /* NULL if this is the default machine
- entry. */
- char *acc;
- char *passwd; /* NULL if there is no password. */
- struct _acc_t *next;
-} acc_t;
+#include
-void search_netrc (const char *, const char **, const char **, int);
-void free_netrc (acc_t *l);
+void search_netrc (const char *, const char **, const char **, int, FILE *);
void netrc_cleanup(void);
#endif /* NETRC_H */