mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 03:41:53 +00:00
avoid operations on closed file handles in embedded languages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12255 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1207,6 +1207,10 @@ SWITCH_DECLARE(switch_status_t) CoreSession::process_callback_result(char *resul
|
||||
}
|
||||
|
||||
if (fhp) {
|
||||
if (!switch_test_flag(fhp, SWITCH_FILE_OPEN)) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
if (!strncasecmp(result, "speed", 5)) {
|
||||
char *p;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user