Fix NULL pointer dereference 59/280859/1 accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063114 accepted/tizen/7.0/unified/hotfix/20221116.104846 accepted/tizen/8.0/unified/20231005.092901 accepted/tizen/unified/20220916.071432 tizen_7.0_m2_release tizen_8.0_m2_release
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 6 Sep 2022 05:00:07 +0000 (14:00 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 6 Sep 2022 05:00:07 +0000 (14:00 +0900)
Change-Id: Ic26845acba0aa2ea9b955885bea1cdb8bdefe876

src/tethering.c

index 1772308..acca9ae 100755 (executable)
@@ -427,6 +427,7 @@ static void __invoke_disabled_cb(__tethering_h *th, tethering_type_e type, GVari
                return;
        }
 
+       dcb = th->disabled_cb[type];
        data = th->disabled_user_data[type];
 
        g_variant_get(parameters, "(s)", &buf);