mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-07 15:01:10 +00:00
Fix out of bound access
This commit is contained in:
parent
d39fb653aa
commit
5429b6f189
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -3779,7 +3779,7 @@ void ir_function_dump(ir_function *f, char *ind,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
oprintf("%sfunction %s\n", ind, f->name);
|
oprintf("%sfunction %s\n", ind, f->name);
|
||||||
strncat(ind, "\t", IND_BUFSZ);
|
strncat(ind, "\t", IND_BUFSZ-1);
|
||||||
if (vec_size(f->locals))
|
if (vec_size(f->locals))
|
||||||
{
|
{
|
||||||
oprintf("%s%i locals:\n", ind, (int)vec_size(f->locals));
|
oprintf("%s%i locals:\n", ind, (int)vec_size(f->locals));
|
||||||
|
|
Loading…
Reference in a new issue