Skip to content

Commit

Permalink
GP-4283 Added missing check for destination function existence when c…
Browse files Browse the repository at this point in the history
…reating an implied match.
  • Loading branch information
ghidra007 committed Mar 1, 2024
1 parent c879082 commit 653e3d8
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,13 @@ private static VTImpliedMatchInfo findImpliedMatch(AddressCorrelation correlator
if (sourceFunction.getProgram()
.getFunctionManager()
.getFunctionAt(srcRefToAddress) == null) {
return null; // function may not have been created here.
return null; // source function may not have been created here.
}

if (destinationFunction.getProgram()
.getFunctionManager()
.getFunctionAt(destRefToAddress) == null) {
return null; // destination function may not have been created here.
}
}

Expand Down

0 comments on commit 653e3d8

Please sign in to comment.