projects
/
platform
/
adaptation
/
emulator
/
nfc-plugin-emul.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
657fb08
)
Fix 3.0 prevent issue
18/65918/1
accepted/tizen/common/20160414.142635
accepted/tizen/mobile/20160414.092128
accepted/tizen/wearable/20160414.092050
submit/tizen/20160414.045606
author
Jihoon Jung
<jh8801.jung@samsung.com>
Thu, 14 Apr 2016 04:04:23 +0000
(13:04 +0900)
committer
Jihoon Jung
<jh8801.jung@samsung.com>
Thu, 14 Apr 2016 04:05:42 +0000
(13:05 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: Ib209c3d4ec19ac35b30311c7827effef885420a6
src/oem/oem_emul.c
patch
|
blob
|
history
diff --git
a/src/oem/oem_emul.c
b/src/oem/oem_emul.c
index
f332d5c
..
a810d8c
100644
(file)
--- a/
src/oem/oem_emul.c
+++ b/
src/oem/oem_emul.c
@@
-3248,7
+3248,7
@@
static bool net_nfc_emul_controller_secure_element_get_atr(net_nfc_target_handle
*result = NET_NFC_OK;
*atr = NULL;
- str
cpy(buffer, "getatr"
);
+ str
ncpy(buffer, "getatr", sizeof(buffer)
);
temp = (data_s *)calloc(1, sizeof(*temp));
if (temp != NULL) {
@@
-3284,7
+3284,7
@@
static bool net_nfc_emul_controller_secure_element_send_apdu(net_nfc_target_hand
*response = NULL;
//buffer response
- str
cpy(buffer, "response"
);
+ str
ncpy(buffer, "response", sizeof(buffer)
);
length = strlen(buffer);