summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-20 23:34:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-20 23:34:38 +0800
commit1a7b944917cce0ef58d899c24166aa20ea041d52 (patch)
tree59a3ff320604bd3f61b8d79f39243f59d63a518c /common-session.c
parent3b400bd64e868e861a2977a2db3053fc72476abc (diff)
Load password and key for client fuzzer.
Add fuzz_dump()
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c
index 7531563..f670576 100644
--- a/common-session.c
+++ b/common-session.c
@@ -465,6 +465,11 @@ static int ident_readln(int fd, char* buf, int count) {
TRACE(("leave ident_readln: EOF"))
return -1;
}
+
+#ifdef DROPBEAR_FUZZ
+ fuzz_dump(&in, 1);
+#endif
+
if (in == '\n') {
/* end of ident string */
break;