freeswitch/libs/freetdm/mod_freetdm
Stefan Knoblich b84b71defa FreeTDM: Stop using raw_data for FTDM_SIGEVENT_SIGSTATUS_CHANGED events.
The raw_data member is used for passing heap allocated data with an event,
(e.g. strings of dtmf data) the memory is freed after the event has been processed.

Recent changes in the event structure added a way to pass sig status changes inline,
so remove the raw_data usage for FTDM_SIGEVENT_SIGSTATUS_CHANGED events.

NOTE: This (finally) fixes a bug in ftmod_libpri that was caused by
      the event handling changes (stack corruption due to using free()
      on a variable on the stack, which turned into a NULL ptr deref
      caused by some compat code in ftdm_io.c:ftdm_span_send_signal().

Compiles and tested on my BRI setup, i did a quick audit of all
places that generate FTDM_SIGEVENT_SIGSTATUS_CHANGED events and
except for the sangoma_boost module there's nothing else that left
using raw_data for this event.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-12-19 21:09:50 +01:00
..
CMakeLists.txt created cmake files for freetdm 2010-10-06 17:51:29 -03:00
Makefile.in Linux renaming from openzap to freetdm 2010-01-15 19:22:49 +00:00
clean.sh freetdm: added documentation and clean up script 2010-04-28 18:17:50 -04:00
mod_freetdm.2008.vcproj add realloc OS hooks and fix boost pri CLI 2010-04-13 15:18:18 -04:00
mod_freetdm.2010.vcxproj freetdm VS2010 build fix 2010-12-09 14:03:09 -06:00
mod_freetdm.2010.vcxproj.filters VS2010 add missing files freetdm 2010-12-08 13:59:56 -06:00
mod_freetdm.c FreeTDM: Stop using raw_data for FTDM_SIGEVENT_SIGSTATUS_CHANGED events. 2010-12-19 21:09:50 +01:00
mod_openzap.2005.vcproj windows renaming to freetdm changes 2010-01-15 21:43:41 +00:00