projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f25f074
)
enlightenment: Allocate space for terminating NULL
author
Chris Michael
<cp.michael@samsung.com>
Fri, 24 Jul 2015 17:12:20 +0000
(13:12 -0400)
committer
Chris Michael
<cp.michael@samsung.com>
Fri, 24 Jul 2015 17:12:20 +0000
(13:12 -0400)
Fixes CID1261289
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_static_grab.c
patch
|
blob
|
history
diff --git
a/src/bin/e_static_grab.c
b/src/bin/e_static_grab.c
index
8fb7a3e
..
8108a1d
100644
(file)
--- 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))