Skip to content

Conversation

@cesarghali
Copy link
Contributor

Using defer before checking NewClientHandshake and NewServerHandshake error can cause panic. If these two APIs failed, chs and shs will be nil when Close is called.

@cesarghali cesarghali merged commit 4b60e3b into grpc:master May 3, 2019
@cesarghali cesarghali deleted the fix_alts_bug branch May 3, 2019 17:48
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants