projects
/
platform
/
core
/
account
/
fido-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d9ed87
)
heap buffer overflow fixed
11/205411/1
accepted/tizen/unified/20190508.234037
submit/tizen/20190507.053924
submit/tizen/20190508.040921
author
chakradhar
<v.pogiri@samsung.com>
Fri, 3 May 2019 06:23:23 +0000
(11:53 +0530)
committer
chakradhar
<v.pogiri@samsung.com>
Fri, 3 May 2019 06:23:23 +0000
(11:53 +0530)
Change-Id: Ieb868278505ea357827db18330079898b86a80a2
Signed-off-by: chakradhar <v.pogiri@samsung.com>
server/fido_server.c
patch
|
blob
|
history
diff --git
a/server/fido_server.c
b/server/fido_server.c
index
d1b3347
..
25f5c7d
100755
(executable)
--- a/
server/fido_server.c
+++ b/
server/fido_server.c
@@
-160,7
+160,7
@@
_asm_get_info_cb(GList *asm_resp_list, void *user_data)
int i = 0;
int str_list_len = g_list_length(asm_resp_list);
GList *asm_resp_list_iter = g_list_first(asm_resp_list);
- char **asm_resp_json_arr = calloc(str_list_len, sizeof(int));
+ char **asm_resp_json_arr = calloc(str_list_len
+ 1
, sizeof(int));
if (asm_resp_json_arr != NULL) {
while (asm_resp_list_iter != NULL) {