mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-27 13:09:36 +00:00
983656435229d5b5fe400616ff44f7410e002512
This commit also reverts 2 previous attempts to fix this very rare race issue spanning back to 200962ce853897Patch from MOC3a85348cdfFS-2302 mutex added around switch_xml_toxml() The real problem was switch_xml_toxml_buf() was actually temporarily modifying the xml structure being searialized to make it appaer to be a root structure then serializing it and restoring the pointers. This caused a non-threadsafe operation when some other thread was scanning the same xml structure. This patch removes the modification and instead passes a new arg to switch_xml_toxml_r indicating to treat the structure as if it were a root structure. This bug has been present since the induction of xml into FS. Conflicts: src/switch_xml.c
…
…
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.
BSD-3-Clause, ISC
248 MiB
0 Stars
1 Watchers
0 Forks
Languages
C
60.3%
C++
27.2%
JavaScript
4.3%
Assembly
1.7%
Makefile
1%
Other
4.9%