• 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
名称
最后提交
最后更新
..
apr 正在载入提交数据...
apr-util 正在载入提交数据...
broadvoice 正在载入提交数据...
curl 正在载入提交数据...
esl 正在载入提交数据...
freetdm 正在载入提交数据...
iksemel 正在载入提交数据...
ilbc 正在载入提交数据...
js 正在载入提交数据...
libcodec2 正在载入提交数据...
libdingaling 正在载入提交数据...
libedit 正在载入提交数据...
libg722_1 正在载入提交数据...
libnatpmp 正在载入提交数据...
libsndfile 正在载入提交数据...
libteletone 正在载入提交数据...
miniupnpc 正在载入提交数据...
openzap 正在载入提交数据...
pcre 正在载入提交数据...
portaudio 正在载入提交数据...
silk 正在载入提交数据...
sofia-sip 正在载入提交数据...
spandsp 正在载入提交数据...
speex 正在载入提交数据...
sqlite 正在载入提交数据...
srtp 正在载入提交数据...
stfu 正在载入提交数据...
tiff-3.8.2 正在载入提交数据...
udns 正在载入提交数据...
unimrcp 正在载入提交数据...
win32 正在载入提交数据...
xmlrpc-c 正在载入提交数据...
yaml 正在载入提交数据...
.gitignore 正在载入提交数据...