diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-01-17 19:47:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 19:47:27 +0100 |
commit | e4a7990a4e4842b4e6f5b10fb51ab288fa340240 (patch) | |
tree | 4cf75376ce7c7c1acf78fa3263ba4a2cbe307ef2 /src/include | |
parent | d19bd965554c89a61772efaee2636606ceace790 (diff) |
H323: fix a use-after-poison error (#1412)
Detected by oss-fuzz
See: https://oss-fuzz.com/testcase-detail/6730505580576768
Fix a function prototype
Update a unit test results
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_api.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in index f94fd4093..271b73194 100644 --- a/src/include/ndpi_api.h.in +++ b/src/include/ndpi_api.h.in @@ -118,7 +118,7 @@ extern "C" { void ndpi_free(void *ptr); void * ndpi_flow_malloc(size_t size); void ndpi_flow_free(void *ptr); - u_int32_t ndpi_get_tot_allocated_memory(); + u_int32_t ndpi_get_tot_allocated_memory(void); /** * Search the first occurrence of substring -find- in -s- |