mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-23 03:33:48 +00:00
aa1a05d0aa
handle_ice
Clang's static analyzer thinks we could be using `hosts` here when it is NULL. We probably weren't, but it's easy to see how it could think so. We were checking whether `from_addr` matched `ice->addr` three times, and between the second on third time we might have modified the `ice->addr`; however we only get there if it matched the second time, so we could only make it not match at that point and avoid the third branch. We can't make it match where it did not before. We'll simplify the logic a bit here so static analyzers (and humans) can hopefully see this more readily.
…
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses
206 MiB
Languages
C
65.2%
C++
20.8%
JavaScript
4.8%
Assembly
2%
Makefile
1%
Other
5.4%