DescriptionCFI: avoid a bad cast in InsertBeforeMany.
Instead of dereferencing an iterator pointing to non-initialized memory (which requires a cast to the element type pointer), pass a char* memory pointer to new().
BUG=chromium:531664, chromium:457523
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/93f671bcf253ae4df5e054b542bd31a4eb17023b
Cr-Commit-Position: refs/heads/master@{#350035}
Patch Set 1 : simplify #
Total comments: 4
Patch Set 2 : fixed another instance #Messages
Total messages: 12 (5 generated)
|