Fix crash in UnameHelper()

fixes #11714
This commit is contained in:
Gunnar Beutner 2016-05-10 09:44:41 +02:00
parent 1fb378ef4a
commit eab2fb79ad

View File

@ -1435,6 +1435,9 @@ static String UnameHelper(char type)
FILE *fp = popen(cmd, "r");
if (!fp)
return "Unknown";
char line[1024];
std::ostringstream msgbuf;