DescriptionSerializer: clear next link in weak cells.
If we do not clear next links during serialization, the
serializer would simply follow those links and serialize
arbitrary objects held by weak cells. This breaks the
invariant in the code serializer, which crashes if it
sees context-dependent objects.
R=ulan@chromium.org
BUG=chromium:503552
LOG=Y
Committed: https://crrev.com/f1982eb49083d0063214ffa0f9f92c0609ae31cc
Cr-Commit-Position: refs/heads/master@{#29255}
Patch Set 1 #
Total comments: 3
Patch Set 2 : address comments #Patch Set 3 : fix build #Patch Set 4 : fix asan failure #
Messages
Total messages: 17 (8 generated)
|