Skip to content

Commit 062b4d9

Browse files
rajatdThomas Moore (CHAKRA)
authored andcommitted
[CVE-2018-8503] Edge - RCE :Type Confusion Bug For Edge Bounty Program - Qihoo 360
1 parent 9b36ce8 commit 062b4d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Runtime/Library/JavascriptArray.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,13 +1499,11 @@ using namespace Js;
14991499

15001500
bool isTaggedInt = TaggedInt::Is(item);
15011501
bool isTaggedIntMissingValue = false;
1502-
#ifdef TARGET_64
15031502
if (isTaggedInt)
15041503
{
15051504
int32 iValue = TaggedInt::ToInt32(item);
15061505
isTaggedIntMissingValue = Js::SparseArraySegment<int32>::IsMissingItem(&iValue);
15071506
}
1508-
#endif
15091507
if (isTaggedInt && !isTaggedIntMissingValue)
15101508
{
15111509
// This is taggedInt case and we verified that item is not missing value in AMD64.

0 commit comments

Comments
 (0)