projects
/
profile
/
mobile
/
apps
/
native
/
myfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67bd403
)
fix g_snprintf error
35/160935/2
tizen_4.0
submit/tizen_4.0/20171123.073410
tizen_4.0.IoT.p2_release
author
HyoEun Ahn
<he.ahn@samsung.com>
Tue, 21 Nov 2017 00:25:32 +0000
(09:25 +0900)
committer
HyoEun Ahn
<he.ahn@samsung.com>
Tue, 21 Nov 2017 01:38:16 +0000
(10:38 +0900)
Change-Id: I9aff2bedfad695368c1ab4041204627e33106b80
Signed-off-by: HyoEun Ahn <he.ahn@samsung.com>
src/common/file-system/mf-file-attr.c
patch
|
blob
|
history
diff --git
a/src/common/file-system/mf-file-attr.c
b/src/common/file-system/mf-file-attr.c
index
dfe8168
..
f0276b4
100644
(file)
--- a/
src/common/file-system/mf-file-attr.c
+++ b/
src/common/file-system/mf-file-attr.c
@@
-1171,7
+1171,7
@@
int mf_file_attr_get_file_icon(const char *file_path, int *error_code,
tmp_data.file_path = file_path;
tmp_data.media = media_info;
char condition[4096];
- g_snprintf("%s and MEDIA_PATH=\"%s\"",
+ g_snprintf(
condition, 4096,
"%s and MEDIA_PATH=\"%s\"",
MF_CONDITION_IMAGE_VIDEO,
tmp_data.file_path);
err =