Skip to content

Commit

Permalink
CVE-2018-8618 Edge - Report a type confusion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Meghana Gupta authored and akroshg committed Dec 10, 2018
1 parent 8264b9b commit 5db4218
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Backend/GlobOpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1840,6 +1840,10 @@ GlobOpt::IsAllowedForMemOpt(IR::Instr* instr, bool isMemset, IR::RegOpnd *baseOp
return false;
}
}
else
{
return false;
}

if (!baseValueType.IsTypedArray())
{
Expand Down

0 comments on commit 5db4218

Please sign in to comment.