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:
cd47d78
)
Coverity issue fixed
03/282403/1
accepted/tizen_7.0_unified
accepted/tizen_7.0_unified_hotfix
tizen_7.0_hotfix
accepted/tizen/7.0/unified/20221110.060438
accepted/tizen/7.0/unified/hotfix/20221116.104543
accepted/tizen/unified/20221005.023207
tizen_7.0_m2_release
author
Abhimanyu Swami
<abhimanyu1.s@samsung.com>
Sat, 1 Oct 2022 14:57:38 +0000
(20:27 +0530)
committer
Abhimanyu Swami
<abhimanyu1.s@samsung.com>
Sat, 1 Oct 2022 14:57:38 +0000
(20:27 +0530)
Change-Id: I55c665dbaa27ac4fc8f8b2c92983ba1287984a44
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
server/fido_app_id_handler.c
patch
|
blob
|
history
diff --git
a/server/fido_app_id_handler.c
b/server/fido_app_id_handler.c
index
395d751
..
6af5d45
100755
(executable)
--- a/
server/fido_app_id_handler.c
+++ b/
server/fido_app_id_handler.c
@@
-240,7
+240,13
@@
__get_pub_key(const char *json_id_str)
}
char *pub_key = strtok_r(NULL, ":", &save_ptr);
- RET_IF_FAIL(pub_key != NULL, NULL);
+
+ if (pub_key == NULL) {
+ free(tempStr);
+ return NULL;
+ }
+
+ free(tempStr);
return pub_key;
}