mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
initctl: buffer overflow in runlevel string formatting
Fix #437 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -767,7 +767,7 @@ static int plugins_list(char *arg)
|
||||
*/
|
||||
char *runlevel_string(int currlevel, int levels)
|
||||
{
|
||||
static char lvl[21];
|
||||
static char lvl[32];
|
||||
int i = INIT_LEVEL;
|
||||
int pos = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user