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:
1 parent
cb4bf1fd97
commit
a5134971cb
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user