diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2025-02-21 19:17:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 19:17:28 +0100 |
commit | cde5773762210ce21a2400ace30d864897df0d7d (patch) | |
tree | 8c79ac6a668879d2e468c96ebba654fb9719d993 /example/reader_util.c | |
parent | 35c171ebfbe099e33c1d9c3ea1e3e2450f809010 (diff) |
Move `rtp` info out of `flow->protos` (#2739)
Thiw way, the code is ready to handle rtp info from STUN flows too.
And, most important, this change works as workaround to fix some crashes
reported by oss-fuzz
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 7362321aa..ee31450c0 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1637,7 +1637,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl } if(is_ndpi_proto(flow, NDPI_PROTOCOL_RTP)) - memcpy(&flow->rtp, &flow->ndpi_flow->protos.rtp, sizeof(flow->rtp)); + memcpy(&flow->rtp, &flow->ndpi_flow->rtp, sizeof(flow->rtp)); ndpi_snprintf(flow->http.user_agent, sizeof(flow->http.user_agent), |