freeswitch/libs/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
..
build FreeTDM: Buildsystem cleanup 2010-11-01 02:13:27 +01:00
conf freetdm: Add FTDM_COMMANDs to debug DTMF 2010-12-03 17:52:10 -05:00
docs freetdm: Add documentation on sig status 2010-12-16 18:29:45 -05:00
mod_freetdm FreeTDM: Stop using raw_data for FTDM_SIGEVENT_SIGSTATUS_CHANGED events. 2010-12-19 21:09:50 +01:00
msvc VS2010 Freetdm fix misc build settings 2010-12-01 18:42:28 -06:00
sample created cmake files for freetdm 2010-10-06 17:51:29 -03:00
src FreeTDM: Stop using raw_data for FTDM_SIGEVENT_SIGSTATUS_CHANGED events. 2010-12-19 21:09:50 +01:00
.gitignore FreeTDM: Update .gitignore, add files shipped with libtool (build/{libtool,lt*}.m4) and compiled test binaries 2010-11-06 16:06:42 +01:00
.update OPENZAP-22 add configuration settable debug levels for isdn trunks 2008-10-03 21:57:57 +00:00
AUTHORS convert to automake (still not really using automake in a useful way) 2009-02-03 04:51:53 +00:00
CMakeLists.txt created cmake files for freetdm 2010-10-06 17:51:29 -03:00
ChangeLog convert to automake (still not really using automake in a useful way) 2009-02-03 04:51:53 +00:00
Makefile.am freetdm: add __USE_BSD to ftdm_os, needed by unistd.h for usleep() and string.h to define strcasecmp() 2010-12-17 20:27:37 -05:00
NEWS convert to automake (still not really using automake in a useful way) 2009-02-03 04:51:53 +00:00
README freetdm: add mkrelease.sh script 2010-09-30 17:58:25 -04:00
TODO added generic interrupt support 2010-03-12 18:27:24 +00:00
acinclude.m4 add libpcap detection 2009-02-03 16:41:48 +00:00
bootstrap added boostrap script 2010-01-15 17:06:20 +00:00
configure.ac freetdm: add __USE_BSD to ftdm_os, needed by unistd.h for usleep() and string.h to define strcasecmp() 2010-12-17 20:27:37 -05:00
configure.gnu fix configure --srcdir for freetdm 2010-12-10 14:56:29 -05:00
cyginstall.sh Fixed cyginstall.sh script 2010-11-16 14:56:19 -05:00
freetdm.2008.sln Merge remote branch 'fsorig/master' 2010-12-06 15:10:53 -05:00
freetdm.2010.sln Freetdm windows fixes 2010-12-09 08:59:06 -06:00
freetdm.pc.in [FreeTDM] Add modulesdir to freetdm.pc.in 2010-07-05 23:54:33 +02:00
mkrelease.sh freetdm: add mkrelease.sh script 2010-09-30 17:58:25 -04:00
ozrename.sh Linux renaming from openzap to freetdm 2010-01-15 19:22:49 +00:00
ozreplace.sh added ozreplace.sh handy script 2010-02-09 19:25:26 +00:00

README

FreeTDM
http://wiki.freeswitch.org/wiki/FreeTDM