mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-20 19:21:53 +00:00
aa1a05d0aa2b13632b10d5e8cce78794288c8295
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 unlock the telecommunications potential of any device.
Multiple Licenses
273 MiB
Languages
C
65.1%
C++
21%
JavaScript
4.7%
Assembly
1.9%
Makefile
1.1%
Other
5.5%