The watch_time_get_dst_status API should check whether the parameter
is NULL pointer or NOT.
Change-Id: I5194f58ee841ef263fceb7e694011329a495e655
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
EXPORT_API int watch_time_get_dst_status(watch_time_h watch_time, bool *status)
{
- if (watch_time == NULL)
+ if (watch_time == NULL || status == NULL)
return watch_app_error(APP_ERROR_INVALID_PARAMETER, __FUNCTION__, NULL);
if (watch_time->indaylight)