Fix a socket NULL-dereference in ProcessReadResult.
The QuicChromiumPacketReader upon finishing the socket read, will dereference the socket to get local and peer addresses and report packet back to the visitor unconditionally even if the connection is closed. The patch landed in crrev.com/c/1900569 nulls out the socket upon connection close, leading to null dereference when fetching local and peer addresses. Bug: 1014092, 1021938 Change-Id: I9af79f03b3e2ffbe1ed036af8980efa6b6d1478c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1901946 Commit-Queue: Zhongyi Shi <zhongyi@chromium.org> Reviewed-by:Ryan Hamilton <rch@chromium.org> Auto-Submit: Zhongyi Shi <zhongyi@chromium.org> Cr-Commit-Position: refs/heads/master@{#713287}
Showing
Please register or sign in to comment