From 751768c3c2725afec4118b8f248db4da85dd127f Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Sun, 13 Dec 2020 14:33:14 +0000 Subject: [PATCH] Fix '-v' option git-svn-id: svn://kolibrios.org@8393 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/other/tte/tte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/other/tte/tte.c b/programs/other/tte/tte.c index b9dddaf3e4..099000f79b 100644 --- a/programs/other/tte/tte.c +++ b/programs/other/tte/tte.c @@ -1785,7 +1785,7 @@ int handleArgs(int argc, char* argv[]) { printHelp(); return -1; } else if(strncmp("-v", argv[1], 2) == 0 || strncmp("--version", argv[1], 9) == 0) { - char* _notify_version = "'Version:\n"; + char _notify_version[256] = "'Version:\n"; strcat(_notify_version, TTE_VERSION); strcat(_notify_version, "' -t -I"); /// printf("tte - version %s\n", TTE_VERSION);