summaryrefslogtreecommitdiff
path: root/src/bin/ethumb_client
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-08-04 10:44:35 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-08-04 10:44:35 +0100
commit97dc9cac367aeeddf94a31131994e8c188534702 (patch)
tree6fab53bfb309fe084e70fd43d5fc8d0ee1efde92 /src/bin/ethumb_client
parente37ad31e583cfb1304da101e8412709f1a924c2f (diff)
ethumbd_slave: fix coverity defect
Fixes CID 1193232 (string not null terminated)
Diffstat (limited to 'src/bin/ethumb_client')
-rw-r--r--src/bin/ethumb_client/ethumbd_slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ethumb_client/ethumbd_slave.c b/src/bin/ethumb_client/ethumbd_slave.c
index 294421d31b..387908b6e8 100644
--- a/src/bin/ethumb_client/ethumbd_slave.c
+++ b/src/bin/ethumb_client/ethumbd_slave.c
@@ -130,7 +130,7 @@ _ec_pipe_str_read(struct _Ethumbd_Child *ec EINA_UNUSED, char **str)
130{ 130{
131 int size; 131 int size;
132 int r; 132 int r;
133 char buf[PATH_MAX]; 133 char buf[PATH_MAX] = { '\0' };
134 134
135 r = _ec_read_safe(STDIN_FILENO, &size, sizeof(size)); 135 r = _ec_read_safe(STDIN_FILENO, &size, sizeof(size));
136 if (!r) 136 if (!r)