DescriptionFix use-before-new issue in TestCastSocket.
A reference to capturing_net_log_ was passed into the base class constructor
and used before it was fully initialized. For the derived class the initialization
of the members happens stronly after the base constructors completed.
This fixes a bug found by UBSan Vptr.
BUG=617206
Committed: https://crrev.com/ce674bd826bdfc05b1b091ab062c386d56018d76
Cr-Commit-Position: refs/heads/master@{#397846}
Patch Set 1 #
Total comments: 2
Patch Set 2 : drop explicit #Messages
Total messages: 12 (5 generated)
|