MT#55283 prevent uninitialised pointer access

This array is only conditionally partially filled, but then
unconditionally copied, so we need to zero it out.

closes #1839

Change-Id: I38662ed094aad776a68ad0c2eb947fd598bc4c57
rfuchs/gh1839
Richard Fuchs 9 months ago
parent dbc0896439
commit 860ce31f63

@ -2668,7 +2668,7 @@ static int table_add_destination(struct rtpengine_table *t, struct rtpengine_des
struct rtpengine_target *g;
struct interface_stats_block *iface_stats;
struct stream_stats *stats;
struct ssrc_stats *ssrc_stats[RTPE_NUM_SSRC_TRACKING];
struct ssrc_stats *ssrc_stats[RTPE_NUM_SSRC_TRACKING] = {0};
unsigned int u;
// validate input

Loading…
Cancel
Save