Chromium Code Reviews
DescriptionFix use-after-scope issues in HttpNetworkTransactionTest.
Network transaction keeps a reference to the request and accesses it
from the destructor. That adds a requirement that the life scope of
request must be wider than the scope of transaction. This CL fixes
the cases where it was not true.
The bug was found by AddressSanitizer with use-after-free check
enabled. It's currently being rolled out into Chrome, and this CL
is a part of a larger cleanup of existing failures.
BUG=649897
Committed: https://crrev.com/c06a72a8cb9d22ed8606f1a48ec881aeeb1f7891
Cr-Commit-Position: refs/heads/master@{#440000}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||