forked from enlightenment/enlightenment
enlightenment: Allocate space for terminating NULL
Fixes CID1261289 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
f25f074be5
commit
b98a58f632
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue