-
Peter Qiu authored
We're currently using GenericPendingReceiver::interface_name() when forwarding the bind request to the system connector, which is returning a reference string. However, the |interfae_name_| is resetted in GenericPendingReceiver::PassPipe(), which is invoked in the same bind request. This results in system connector getting corrupted interface name. So make a copy of the interface name, and use it for the bind request. Bug: 146448872 Test: Verify no crash when CastAudioOutputStream uses ServiceConnector to request MultiroomManager interface. Change-Id: Ia6987045e4c6ab39f46fe097fb98e6dfa5e00468 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977023 Commit-Queue: Peter Qiu <zqiu@chromium.org> Commit-Queue: Michael Spang <spang@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Reviewed-by:
Michael Spang <spang@chromium.org> Cr-Commit-Position: refs/heads/master@{#726543}
8c37ecb0