fix a random segfault due to out of bound array ref in find_pass_through_symbols()

This commit is contained in:
stefan schippers 2023-09-28 01:06:07 +02:00
parent 5080c2c33f
commit 14a674b6f4
1 changed files with 1 additions and 1 deletions

View File

@ -899,7 +899,7 @@ static int find_pass_through_symbols(int what, int ninst)
}
}
int_hash_free(&table);
if(pt_symbol[k]) dbg(1, "duplicated pins: %s\n", xctx->sym[i].name);
if(pt_symbol[k]) dbg(1, "duplicated pins: %s\n", xctx->sym[k].name);
}
my_free(_ALLOC_ID_, &symtable);
} else if(what ==1) { /* query */