mirror of git://anongit.mindrot.org/openssh.git
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:
parent
de613f2713
commit
0ef24ad602
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue