projects
/
platform
/
core
/
connectivity
/
nfc-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
855a125
)
Fix Asan build error
78/234578/1
accepted/tizen/unified/20200604.021820
submit/tizen/20200602.004234
author
Jihoon Jung
<jh8801.jung@samsung.com>
Wed, 27 May 2020 07:26:33 +0000
(16:26 +0900)
committer
Jihoon Jung
<jh8801.jung@samsung.com>
Wed, 27 May 2020 07:27:02 +0000
(16:27 +0900)
Change-Id: Ic005f4e0a56121aa143e95d193df9dcd08ce20e2
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
src/manager/net_nfc_app_util.c
patch
|
blob
|
history
diff --git
a/src/manager/net_nfc_app_util.c
b/src/manager/net_nfc_app_util.c
index 040ec7b64e69c4a4fac31df940ab2c6630776ef7..b113111716d5aedd8e8d3262f9343c9a108fedfb 100644
(file)
--- a/
src/manager/net_nfc_app_util.c
+++ b/
src/manager/net_nfc_app_util.c
@@
-512,7
+512,7
@@
static bool _net_nfc_app_util_get_mime_from_record(ndef_record_s * record, char
memcpy(mime, record->type_s.buffer, record->type_s.length);
mime[record->type_s.length] = '\0';
-
strncat(mime
, "/*", 2);
+
memcpy(mime + record->type_s.length
, "/*", 2);
mime[record->type_s.length + 2] = '\0';
}