• Stefan Knoblich's avatar
    FreeTDM: Stop using raw_data for FTDM_SIGEVENT_SIGSTATUS_CHANGED events. · b84b71de
    Stefan Knoblich 提交于
    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: 's avatarStefan Knoblich <s.knoblich@axsentis.de>
    b84b71de
名称
最后提交
最后更新
..
build 正在载入提交数据...
conf 正在载入提交数据...
docs 正在载入提交数据...
mod_freetdm 正在载入提交数据...
msvc 正在载入提交数据...
sample 正在载入提交数据...
src 正在载入提交数据...
.gitignore 正在载入提交数据...
.update 正在载入提交数据...
AUTHORS 正在载入提交数据...
CMakeLists.txt 正在载入提交数据...
ChangeLog 正在载入提交数据...
Makefile.am 正在载入提交数据...
NEWS 正在载入提交数据...
README 正在载入提交数据...
TODO 正在载入提交数据...
acinclude.m4 正在载入提交数据...
bootstrap 正在载入提交数据...
configure.ac 正在载入提交数据...
configure.gnu 正在载入提交数据...
cyginstall.sh 正在载入提交数据...
freetdm.2008.sln 正在载入提交数据...
freetdm.2010.sln 正在载入提交数据...
freetdm.pc.in 正在载入提交数据...
mkrelease.sh 正在载入提交数据...
ozrename.sh 正在载入提交数据...
ozreplace.sh 正在载入提交数据...