Fix crash issue in case ID or label is not given in fill request 82/209782/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 11 Jul 2019 02:46:30 +0000 (11:46 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 11 Jul 2019 02:46:30 +0000 (11:46 +0900)
Change-Id: I5899f6abe67b2cedb36a0abc903c6cc0b981b4c6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
client/autofill_fill_request.c

index 8c8b091..2c034ae 100644 (file)
@@ -33,8 +33,8 @@ EXPORT_API int autofill_fill_request(autofill_h ah, autofill_view_info_h vi)
 {
     int ret = AUTOFILL_ERROR_NONE;
     rpc_port_autofill_view_info_h vih;
-    char *id;
-    char *label;
+    char *id = NULL;
+    char *label = NULL;
     autofill_hint_e autofill_hint;
     bool sensitive_data;