Fixed svace for unititialized pointer read 54/175754/1 accepted/tizen/4.0/unified/20180416.071434 submit/tizen_4.0/20180413.012056
authorhyunuktak <hyunuk.tak@samsung.com>
Thu, 12 Apr 2018 06:31:16 +0000 (15:31 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Thu, 12 Apr 2018 06:31:19 +0000 (15:31 +0900)
Change-Id: If032ed6a0d4be103056a2efd62fb8409089c15a0
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/stc-manager.spec
src/monitor/stc-monitor.c

index dc9046e..7eebba3 100644 (file)
@@ -1,6 +1,6 @@
 Name:       stc-manager
 Summary:    STC(Smart Traffic Control) manager
-Version:    0.0.44
+Version:    0.0.45
 Release:    0
 Group:      Network & Connectivity/Other
 License:    Apache-2.0
index d4c3ea1..c1ba238 100755 (executable)
@@ -790,9 +790,9 @@ static void __action_when_rstn_limit_exceeded(stc_rstn_limit_type_e limit_type,
        gboolean rv;
        char iftype[MAX_INT_LENGTH];
        char byte[MAX_INT_LENGTH];
-       const char *signal_name;
-       const char *net_popup_content;
-       const char *net_popup_type;
+       const char *signal_name = NULL;
+       const char *net_popup_content = NULL;
+       const char *net_popup_type = NULL;
        stc_s *stc = (stc_s *)stc_get_manager();
 
        if (stc == NULL) {