Skip to content

Commit

Permalink
tests: internal: fuzzers: engine: fix broken calls. (fluent#3132)
Browse files Browse the repository at this point in the history
* tests: internal: fuzzers: engine: fix broken calls.

Signed-off-by: davkor <[email protected]>
  • Loading branch information
DavidKorczynski authored and DrewZhang13 committed May 3, 2021
1 parent a55611c commit c09761b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/internal/fuzzers/engine_fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
ic = flb_input_chunk_create(entry, nm3, 10);
if (ic != NULL) {
flb_input_chunk_get_size(ic);
flb_input_chunk_find_space_new_data(ic, 0x00, 100);
flb_input_chunk_get_overlimit_routes_mask(ic, 100);
flb_input_chunk_set_up_down(ic);
flb_input_chunk_down(ic);
flb_input_chunk_set_up(ic);
Expand Down Expand Up @@ -102,9 +100,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
}
}
break;
case 8:
flb_router_exit(ctx->config);
break;
default:
flb_lib_push(ctx, in_ffd, null_terminated, NM_SIZE);
break;
Expand Down Expand Up @@ -163,9 +158,6 @@ int LLVMFuzzerInitialize(int *argc, char ***argv) {
flb_output_set(ctx, out_ffd,"net.keepalive", "Off", NULL);
flb_output_set(ctx, out_ffd,"Retry_Limit", "1", NULL);

flb_storage_create(ctx->config);
ctx->config->storage_metrics = FLB_TRUE;

/* start the engine */
flb_start(ctx);
}

0 comments on commit c09761b

Please sign in to comment.