projects
/
platform
/
core
/
api
/
email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4ab3c5
)
Coverity issue fixes
34/199934/1
accepted/tizen_5.5_unified_mobile_hotfix
accepted/tizen_5.5_unified_wearable_hotfix
tizen_5.5_mobile_hotfix
tizen_5.5_tv
tizen_5.5_wearable_hotfix
accepted/tizen/5.5/unified/20191031.030227
accepted/tizen/5.5/unified/mobile/hotfix/20201027.064906
accepted/tizen/5.5/unified/wearable/hotfix/20201027.120940
accepted/tizen/unified/20190218.064026
submit/tizen/20190216.133937
submit/tizen_5.5/20191031.000002
submit/tizen_5.5_mobile_hotfix/20201026.185102
submit/tizen_5.5_wearable_hotfix/20201026.184302
tizen_5.5.m2_release
author
kamaljeet
<kamal.jc@samsung.com>
Sat, 16 Feb 2019 13:20:54 +0000
(18:50 +0530)
committer
kamaljeet
<kamal.jc@samsung.com>
Sat, 16 Feb 2019 13:20:54 +0000
(18:50 +0530)
Change-Id: Ib60f27481556c87b7c7e51edef6cca0fc6950c0e
Signed-off-by: kamaljeet <kamal.jc@samsung.com>
src/email.c
patch
|
blob
|
history
diff --git
a/src/email.c
b/src/email.c
index
d333fc6
..
0141138
100755
(executable)
--- a/
src/email.c
+++ b/
src/email.c
@@
-386,7
+386,8
@@
int email_add_attach(email_h msg, const char *filepath)
email_attachment_data_t *new_attach = msg_s->attachment;
struct stat st;
- stat(filepath, &st);
+ if (stat(filepath, &st) != 0)
+ LOGE("stat () failed to provide the status \n");
if (st.st_size > 10*1024*1024) {
/* LCOV_EXCL_START */