Skip to content

Commit

Permalink
[1.11>master] [MERGE #6420 @boingoing] ChakraCore Servicing Update fo…
Browse files Browse the repository at this point in the history
…r 2020.04B

Merge pull request #6420 from boingoing:servicing_2004_b

ChakraCore Servicing Update for 2020.04B

Changes to address the following issues:

[CVE-2020-0970]
[CVE-2020-0969]
  • Loading branch information
boingoing committed Apr 17, 2020
2 parents c459fea + 473286e commit cf66462
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Runtime/Types/PathTypeHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2062,6 +2062,16 @@ namespace Js
{
newSetters = this->UpdateSetterSlots(recycler, oldSetters, oldPathSize, newTypePath->GetPathSize());
}

#if ENABLE_FIXED_FIELDS
#ifdef SUPPORT_FIXED_FIELDS_ON_PATH_TYPES
if (PathTypeHandlerBase::FixPropsOnPathTypes())
{
Assert(this->HasSingletonInstanceOnlyIfNeeded());
this->GetTypePath()->ClearSingletonInstanceIfSame(instance);
}
#endif
#endif
}
else if (growing)
{
Expand Down

0 comments on commit cf66462

Please sign in to comment.