diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-12-10 19:49:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 19:49:11 +0100 |
commit | 48a7f6d487862a392bad65e9e2797e6c4874f8cb (patch) | |
tree | 62c6421f4286cab37d9f053f7e86cca77b3d8146 /src/lib/protocols/corba.c | |
parent | 8c7071e040865b3b70b98ff8d8ad18c41f3fb74c (diff) |
fuzz: some enhancements (#1827)
Load some custom configuration (like in the unit tests) and factorize some
(fuzzing) common code.
There is no way to pass file paths to the fuzzers as parameters. The safe
solution seems to be to load them from the process working dir. Anyway,
missing file is not a blocking error.
Remove some dead code (found looking at the coverage report)
Diffstat (limited to 'src/lib/protocols/corba.c')
-rw-r--r-- | src/lib/protocols/corba.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/protocols/corba.c b/src/lib/protocols/corba.c index bcd8ab0ba..fcb7ff2e6 100644 --- a/src/lib/protocols/corba.c +++ b/src/lib/protocols/corba.c @@ -42,8 +42,6 @@ void ndpi_search_corba(struct ndpi_detection_module_struct *ndpi_struct, struct NDPI_LOG_INFO(ndpi_struct, "found corba\n"); ndpi_int_corba_add_connection(ndpi_struct, flow); } - } else { - NDPI_EXCLUDE_PROTO(ndpi_struct, flow); } } |