Possible buffer overflow in the config load code fixed. Thanks to wk <witold.kowolik@open-e.com> to pointing on it!

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-09-28 15:07:17 +00:00
parent 8d23a63c3c
commit 013f6f1abe
+1 -1
View File
@@ -1124,7 +1124,7 @@ int config_load(const char *config_name)
} while (i < size);
size = i;
buf[size+1] = '\0';
buf[size] = '\0';
config_parse_main(buf, 0);