Fix savce issue on Common Artik 29/105529/1 accepted/tizen/common/20161219.152242 accepted/tizen/ivi/20161219.225712 accepted/tizen/mobile/20161219.225651 submit/tizen/20161219.101411
authorsinikang <sinikang@samsung.com>
Mon, 19 Dec 2016 02:20:44 +0000 (11:20 +0900)
committersinikang <sinikang@samsung.com>
Mon, 19 Dec 2016 02:20:44 +0000 (11:20 +0900)
Change-Id: I8cb9fd07af5810229fc54949c424c800806abd23

module/src/callmgr-telephony.c
packaging/call-manager.spec

index 2dbe8cad160cb94224d82542aff484392b177712..79fd68897c3f6151c12c00cc2dbeb29d3a8e559f 100644 (file)
@@ -3172,6 +3172,10 @@ int _callmgr_telephony_get_call_by_call_id(callmgr_telephony_t telephony_handle,
        list_len = g_slist_length(call_list);
        for (idx = 0; idx < list_len; idx++) {
                call = g_slist_nth_data(call_list, idx);
+               if (call == NULL) {
+                       err("%dth call data is NULL", idx);
+                       return -1;
+               }
                if (call->call_id == call_id) {
                        info("Call found[%d]", call->call_id);
                        *call_data_out = call;
index 9eed62ec4368633629ac67fa459f23f1cc3bf3a5..2e3a711d320c6ebe1a4a511ca6d0ca76f43d6fed 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 93
+%define patchlevel 94
 %define ext_feature 0
 
 Name:           call-manager