classid_bytes_context_s *context)
{
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;
+ char iftype[MAX_INT_LENGTH] = { 0, };
+ char byte[MAX_INT_LENGTH] = { 0, };
+ 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) {
break;
}
+ if (signal_name == NULL) {
+ STC_LOGE("Invalid parameter: limit_type");
+ return;
+ }
+
/* emit signal */
rv = stc_manager_dbus_emit_signal(stc->connection,
STC_DBUS_SERVICE_RESTRICTION_PATH,