• rockot's avatar
    Avoid UAF on ConnectionFilter impls · c6d602ef
    rockot authored
    An incoming service connection may outlive any ConnectionFilter
    which added interfaces to it, so a ConnectionFilter impl must not
    register any interface binders which hold unsafe references to
    itself.
    
    This fixes cases where that was being done.
    
    BUG=639650
    TBR=ben@chromium.org
    
    Review-Url: https://codereview.chromium.org/2268603002
    Cr-Commit-Position: refs/heads/master@{#413462}
    c6d602ef
child_thread_impl.cc 29.2 KB