]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9538 #resolve [segfault while reading local ringback file]
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 19 Sep 2016 18:04:23 +0000 (13:04 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 19 Sep 2016 18:11:11 +0000 (13:11 -0500)
src/mod/applications/mod_dptools/mod_dptools.c

index 669fa6583c4568456e74f3cebb99c1460b9cec74..0545ac07c41451466a4af8386b82d902b690a9c7 100644 (file)
@@ -4880,7 +4880,7 @@ static switch_status_t file_string_file_seek(switch_file_handle_t *handle, unsig
 
        if (samples == 0 && whence == SEEK_SET) {
                context->index = -1;
-               return SWITCH_STATUS_SUCCESS;
+               return next_file(handle);
        }
        
        if (!handle->seekable) {