diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2022-05-03 17:50:35 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2022-05-03 18:56:58 -0400 |
commit | 2eb9633ca96b5d453d842bc95333e36869fb3a7a (patch) | |
tree | 4fcc2d6117be2f76b5e0ff98fe206fc080da01bf | |
parent | c4782159e441478761f0a573103b2df24ab6ded9 (diff) | |
download | libnice-2eb9633ca96b5d453d842bc95333e36869fb3a7a.tar.gz |
agent: Initialize variable
There is a codepath where it can be used without being filled.
Found by coverity.
-rw-r--r-- | agent/agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/agent.c b/agent/agent.c index 8cde228..fb494d3 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -4219,6 +4219,7 @@ agent_recv_message_unlocked ( /* We need an address for packet parsing, below. */ if (message->from == NULL) { + nice_address_init (&from); message->from = &from; } |