summaryrefslogtreecommitdiffhomepage
path: root/fuzz-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz-common.c')
-rw-r--r--fuzz-common.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/fuzz-common.c b/fuzz-common.c
index d5fc9db..4c5da70 100644
--- a/fuzz-common.c
+++ b/fuzz-common.c
@@ -31,23 +31,7 @@ int fuzzer_set_input(const uint8_t *Data, size_t Size) {
memset(&ses, 0x0, sizeof(ses));
memset(&svr_ses, 0x0, sizeof(svr_ses));
-
- // get prefix. input format is
- // string prefix
- // uint32 wrapfd seed
- // ... to be extended later
- // [bytes] ssh input stream
-
- // be careful to avoid triggering buffer.c assertions
- if (fuzz.input->len < 8) {
- return DROPBEAR_FAILURE;
- }
- size_t prefix_size = buf_getint(fuzz.input);
- if (prefix_size != 4) {
- return DROPBEAR_FAILURE;
- }
- uint32_t wrapseed = buf_getint(fuzz.input);
- wrapfd_setup(wrapseed);
+ wrapfd_setup();
fuzz_seed();