projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f9ffd
)
Fix the prevent issue
73/177673/1
accepted/tizen/unified/20180503.080726
submit/tizen/20180502.234612
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 2 May 2018 23:24:32 +0000
(08:24 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 2 May 2018 23:24:32 +0000
(08:24 +0900)
Change-Id: I9829b7507ef7636a5f625a45150312ff2413b454
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
map-agent/bluetooth_map_email.c
patch
|
blob
|
history
diff --git
a/map-agent/bluetooth_map_email.c
b/map-agent/bluetooth_map_email.c
index
0709816
..
745a93a
100644
(file)
--- a/
map-agent/bluetooth_map_email.c
+++ b/
map-agent/bluetooth_map_email.c
@@
-752,7
+752,7
@@
static char *__bt_prepare_email_bmseg(email_mail_data_t *mail_data)
}
rewind(body_file);
- buf = (char *)g_malloc0(sizeof(char) *
email_size
);
+ buf = (char *)g_malloc0(sizeof(char) *
(email_size + 1)
);
read_size = fread(buf, 1, email_size, body_file);
fclose(body_file);
DBG("MESSAGE: [%s]", buf);