Skip to content

Conversation

JonathanGawrych
Copy link
Contributor

See the comment on L480. If the uri port is not default, and is greater than 0, then a LPCWSTR (proxy_name) is pointed to a string that is then destructed before it is used. Reverted the string declaration move, so that it's lifetime is preserved after proxy_name is used.

@ras0219-msft ras0219-msft merged commit 2f907ba into microsoft:master Dec 23, 2017
@ras0219-msft
Copy link
Contributor

Yep, this is the right fix. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants