mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 11:44:14 +00:00
avoid seg on invalid params to record app.(MODAPP-63)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7026 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
7347719339
commit
33bd22a308
6 files changed
+14
-5
No files matched your search
@@ -1253,7 +1253,7 @@ SWITCH_STANDARD_APP(record_function)
|
||||
int rate;
|
||||
|
||||
channel = switch_core_session_get_channel(session);
|
||||
assert(channel != NULL);
|
||||
switch_assert(channel != NULL);
|
||||
|
||||
if (data && (mydata = switch_core_session_strdup(session, data))) {
|
||||
argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0])));
|
||||
|
||||
Reference in new issue
Block a user