[openssh-commits] [openssh] 01/01: fuzzer harness for authorized_keys option parsing

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Sep 14 15:17:13 AEST 2018


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 6bc5a24ac867bfdc3ed615589d69ac640f51674b
Author: Damien Miller <djm at mindrot.org>
Date:   Fri Sep 14 15:16:34 2018 +1000

    fuzzer harness for authorized_keys option parsing
---
 regress/misc/fuzz-harness/Makefile     |   7 +++++--
 regress/misc/fuzz-harness/authopt_fuzz | Bin 0 -> 2386648 bytes
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/regress/misc/fuzz-harness/Makefile b/regress/misc/fuzz-harness/Makefile
index 8fbfc20c..a2aa4441 100644
--- a/regress/misc/fuzz-harness/Makefile
+++ b/regress/misc/fuzz-harness/Makefile
@@ -7,7 +7,7 @@ CXXFLAGS=-O2 -g -Wall -Wextra -I ../../.. $(FUZZ_FLAGS)
 LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS)
 LIBS=-lssh -lopenbsd-compat -lcrypto $(FUZZ_LIBS)
 
-all: pubkey_fuzz sig_fuzz
+all: pubkey_fuzz sig_fuzz authopt_fuzz
 
 .cc.o:
 	$(CXX) $(CXXFLAGS) -c $< -o $@
@@ -18,5 +18,8 @@ pubkey_fuzz: pubkey_fuzz.o
 sig_fuzz: sig_fuzz.o
 	$(CXX) -o $@ sig_fuzz.o $(LDFLAGS) $(LIBS)
 
+authopt_fuzz: authopt_fuzz.o
+	$(CXX) -o $@ authopt_fuzz.o ../../../auth-options.o $(LDFLAGS) $(LIBS)
+
 clean:
-	-rm -f *.o pubkey_fuzz sig_fuzz
+	-rm -f *.o pubkey_fuzz sig_fuzz authopt_fuzz
diff --git a/regress/misc/fuzz-harness/authopt_fuzz b/regress/misc/fuzz-harness/authopt_fuzz
new file mode 100755
index 00000000..6c04faca
Binary files /dev/null and b/regress/misc/fuzz-harness/authopt_fuzz differ

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list