diff options
-rwxr-xr-x | src/notification_setting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notification_setting.c b/src/notification_setting.c index 7d5b592..b945249 100755 --- a/src/notification_setting.c +++ b/src/notification_setting.c @@ -760,7 +760,7 @@ EXPORT_API int notification_system_setting_get_dnd_allow_exceptions(notification dnd_allow_exception_h dnd_allow_exception_data; GList *list; - if (system_setting == NULL) { + if (system_setting == NULL || value == NULL) { NOTIFICATION_ERR("Invalid parameter"); return NOTIFICATION_ERROR_INVALID_PARAMETER; } |