mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-10 06:02:09 +00:00
decompiler: fix indexing into arrays even when !valid
This commit is contained in:
parent
0b92e60dd5
commit
3e48bb769c
@ -6094,13 +6094,12 @@ bool AddTreeState::apply(void)
|
||||
if (isDegenerate)
|
||||
return buildDegenerate();
|
||||
spanAddTree(baseOp,1);
|
||||
if (!valid) return false; // Were there any show stoppers
|
||||
if (distributeOp != (PcodeOp *)0 && !isDistributeUsed) {
|
||||
if (!preventDistribution && distributeOp != (PcodeOp *)0 && !isDistributeUsed) {
|
||||
clear();
|
||||
preventDistribution = true;
|
||||
spanAddTree(baseOp,1);
|
||||
if (!valid) return false;
|
||||
}
|
||||
if (!valid) return false; // Were there any show stoppers
|
||||
calcSubtype();
|
||||
if (!valid) {
|
||||
if (!preventDistribution && distributeOp != (PcodeOp *)0) {
|
||||
|
Loading…
Reference in New Issue
Block a user