Skip to content
Permalink
Browse files

enlightenment: Allocate space for terminating NULL.

  • Loading branch information...
rbtylee committed May 29, 2018
1 parent 5c866b1 commit dcbbfc48392701296a5519b08a5dfda66660209c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bin/e_static_grab.c
@@ -337,7 +337,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))

1 comment on commit dcbbfc4

@rbtylee

This comment has been minimized.

Copy link
Collaborator Author

rbtylee commented on dcbbfc4 May 29, 2018

Please sign in to comment.
You can’t perform that action at this time.