Tools/VMAP: Fix not null terminated string

Fix not null terminated string in vmap assembler tool, fix coverity issue id 1010351 .
This commit is contained in:
jackpoz committed 2013-09-15 13:38:54 +02:00
1 parent cb4bf1fd97
commit a5134971cb
1 file changed
+2 -1
+2 -1
View File
@@ -508,7 +508,8 @@ namespace VMAP
return false;
}
char ident[8];
char ident[9];
ident[8] = '\0';
int readOperation = 0;
READ_OR_RETURN(&ident, 8);