aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-07-24 13:12:20 -0400
committerChris Michael <cp.michael@samsung.com>2015-07-24 13:12:20 -0400
commitb98a58f6321d7f3f792b513a7f35b660c63947f1 (patch)
tree6d5e62310bc7a63414fce8f56cb1679f3526faf1
parentenlightenment: Remove listener for XDnD status (diff)
downloadenlightenment-b98a58f6321d7f3f792b513a7f35b660c63947f1.tar.gz
enlightenment: Allocate space for terminating NULL
Fixes CID1261289 Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/e_static_grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_static_grab.c b/src/bin/e_static_grab.c
index 8fb7a3e35..8108a1d6c 100644
--- a/src/bin/e_static_grab.c
+++ b/src/bin/e_static_grab.c
@@ -347,7 +347,7 @@ _e_static_grab_x(E_Static_Grab *grab)
break;
}
- buffer = alloca(strlen(MODULE_OF) + strlen(module->name));
+ buffer = alloca(strlen(MODULE_OF) + strlen(module->name) + 1);
sprintf(buffer, MODULE_OF, module->name);
if (_e_static_grab_string(current, line->end, buffer, &vendor))