mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-3783 Check for same VariableGroup before assigning partial Symbol
This commit is contained in:
parent
cb3d780fb8
commit
17eb87ebf7
3 changed files with 18 additions and 6 deletions
|
@ -1022,6 +1022,8 @@ void Funcdata::linkProtoPartial(Varnode *vn)
|
|||
if (rootVn == vn) return;
|
||||
|
||||
HighVariable *rootHigh = rootVn->getHigh();
|
||||
if (!rootHigh->isSameGroup(high))
|
||||
return;
|
||||
Varnode *nameRep = rootHigh->getNameRepresentative();
|
||||
Symbol *sym = linkSymbol(nameRep);
|
||||
if (sym == (Symbol *)0) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue