mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 23:26:37 +01:00
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:
@@ -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