projects
/
platform
/
core
/
telephony
/
tel-plugin-packetservice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c784bc
)
Fix svace issue
22/254822/1
accepted/tizen_6.5_unified
accepted/tizen_7.0_unified
accepted/tizen_7.0_unified_hotfix
tizen_6.5
tizen_7.0
tizen_7.0_hotfix
accepted/tizen/6.5/unified/20211028.121024
accepted/tizen/7.0/unified/20221110.061613
accepted/tizen/7.0/unified/hotfix/20221116.105858
accepted/tizen/unified/20210310.144849
submit/tizen/20210310.005247
submit/tizen_6.5/20211028.162501
tizen_6.5.m2_release
tizen_7.0_m2_release
author
Wootak Jung
<wootak.jung@samsung.com>
Tue, 9 Mar 2021 23:23:35 +0000
(08:23 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Tue, 9 Mar 2021 23:23:35 +0000
(08:23 +0900)
null dereference issue
Change-Id: Iad7f683cbffbdffcd18a23a93bb0543feaecf66f
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/ps_master.c
patch
|
blob
|
history
diff --git
a/src/ps_master.c
b/src/ps_master.c
index
e750390
..
a80a702
100644
(file)
--- a/
src/ps_master.c
+++ b/
src/ps_master.c
@@
-73,6
+73,11
@@
static void __ps_master_handle_ups_mode(ps_modem_t *modem, gchar *request)
dbg("context(%p), path(%s), role(%d)", context, _ps_context_ref_path(context), role);
+ if (!context) {
+ err("context is NULL");
+ continue;
+ }
+
if (role == CONTEXT_ROLE_INTERNET && context->is_default) {
if (!g_strcmp0(request, "IfaceDown"))
_ps_context_handle_ifacedown(context);