-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Should crash when deserializing JSArray object containing named prope…
…rty length https://bugs.webkit.org/show_bug.cgi?id=267036 rdar://120410983 Reviewed by Sihui Liu and Mark Lam. `length` is treated as a special property in JSArray. There shouldn't be any named property `length` in JSArray. So, should crash when deserializing JSArray object containing named property `length`. * Source/WebCore/bindings/js/SerializedScriptValue.cpp: (WebCore::CloneSerializer::serialize): (WebCore::CloneDeserializer::objectStartVisitMember): (WebCore::CloneDeserializer::objectEndVisitMember): (WebCore::CloneDeserializer::deserialize): Originally-landed-as: 272448.74@safari-7618-branch (7bd0723). rdar://124556898 Canonical link: https://commits.webkit.org/276108@main
- Loading branch information
1 parent
9360324
commit 18b2179
Showing
1 changed file
with
105 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters