projects
/
platform
/
core
/
connectivity
/
mtp-responder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7d75d
)
Fix coverity issue
56/260056/1
submit/tizen/20210620.232504
author
Jihoon Jung
<jh8801.jung@samsung.com>
Fri, 18 Jun 2021 04:50:05 +0000
(13:50 +0900)
committer
Jihoon Jung
<jh8801.jung@samsung.com>
Fri, 18 Jun 2021 04:50:21 +0000
(13:50 +0900)
Change-Id: I8fda391f92ea87c327745b135e648b545310c391
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
src/mtp_cmd_handler_util.c
patch
|
blob
|
history
diff --git
a/src/mtp_cmd_handler_util.c
b/src/mtp_cmd_handler_util.c
index
a63488e
..
ac4b80e
100644
(file)
--- a/
src/mtp_cmd_handler_util.c
+++ b/
src/mtp_cmd_handler_util.c
@@
-1155,7
+1155,7
@@
mtp_err_t _hutil_read_file_data_from_offset(mtp_uint32 obj_handle, off_t offset,
mtp_obj_t *obj = NULL;
FILE* h_file = NULL;
mtp_int32 error = 0;
- mtp_char fname[MTP_MAX_PATHNAME_SIZE + 1];
+ mtp_char fname[MTP_MAX_PATHNAME_SIZE + 1]
= {0,}
;
off_t result = 0;
mtp_uint32 num_bytes;