diff options
Diffstat (limited to 'gsupplicant/dbus.c')
-rwxr-xr-x | gsupplicant/dbus.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gsupplicant/dbus.c b/gsupplicant/dbus.c index 9ad8e080..73c9acec 100755 --- a/gsupplicant/dbus.c +++ b/gsupplicant/dbus.c @@ -497,7 +497,10 @@ int supplicant_dbus_method_call(const char *path, if (!path || !interface || !method) return -EINVAL; - +#if defined TIZEN_EXT + if (strlen(path) == 0) + return -EINVAL; +#endif method_call = g_try_new0(struct method_call_data, 1); if (!method_call) return -ENOMEM; |