Chromium Code Reviews
DescriptionFix nullptr deref in remote interface acquisition
Changes MessagePipeReader to drop remote associated interface
requests if the pipe has been closed. This avoids dereferencing
a null |sender_| instance.
Also adds a sanity check to
ChannelProxy::GetGenericRemoteAssociatedInterface() to ensure it's
never called before Init(). We aren't hitting this today but it
clarifies that the method has the same expectations as
ChannelProxy::Send().
BUG=632263
R=yzshen@chromium.org
Committed: https://crrev.com/5a90895a195ff140b0b355754807944f6824bd90
Cr-Commit-Position: refs/heads/master@{#408458}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||