mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 13:21:15 +00:00
reduce fuzzer-kexdh params count again, still hitting timeout
This commit is contained in:
parent
27828c742c
commit
f82933108d
@ -9,8 +9,10 @@
|
|||||||
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
||||||
static int once = 0;
|
static int once = 0;
|
||||||
static struct key_context* keep_newkeys = NULL;
|
static struct key_context* keep_newkeys = NULL;
|
||||||
/* number of generated parameters is limited by the timeout for the first run */
|
/* number of generated parameters is limited by the timeout for the first run.
|
||||||
#define NUM_PARAMS 80
|
TODO move this to the libfuzzer initialiser function instead if the timeout
|
||||||
|
doesn't apply there */
|
||||||
|
#define NUM_PARAMS 20
|
||||||
static struct kex_dh_param *dh_params[NUM_PARAMS];
|
static struct kex_dh_param *dh_params[NUM_PARAMS];
|
||||||
|
|
||||||
if (!once) {
|
if (!once) {
|
||||||
|
Loading…
Reference in New Issue
Block a user