Check if channel is closed.
If our event channel is closed, our last read results in nil. This patch makes bridgestrap check for this condition before accessing the result's struct members.
Showing
Please register or sign in to comment
GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.
If our event channel is closed, our last read results in nil. This patch makes bridgestrap check for this condition before accessing the result's struct members.