expect fuzz cases to have length prefix

might make life a little easier for the fuzzer, e.g. it can now
produce valid (multi-request) messages by smashing two cases together.
This commit is contained in:
Damien Miller 2021-01-30 16:28:23 +11:00
parent de613f2713
commit 0ef24ad602
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ test_one(const uint8_t* s, size_t slen)
reset_idtab();
reset_sockettab(devnull);
(void)sshbuf_put_string(sockets[0].input, s, slen);
(void)sshbuf_put(sockets[0].input, s, slen);
process_message(0);
cleanup_idtab();
cleanup_sockettab();