Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix server crash if host header field is translated to :authority #1120

Merged
merged 1 commit into from
Mar 27, 2015

Conversation

tatsuhiro-t
Copy link
Contributor

Previously we missed the fact that we have to increment reference
count when passing grpc_mdstr to grpc_mdelem_from_metadata_strings,
which leads to crash. This commit fixes this issue.

Previously we missed the fact that we have to increment reference
count when passing grpc_mdstr to grpc_mdelem_from_metadata_strings,
which leads to crash.  This commit fixes this issue.
@dklempner
Copy link
Contributor

This looks right to me -- I missed this in review because I was too focused on setup/teardown refcount correctness in the previous PR.

dklempner added a commit that referenced this pull request Mar 27, 2015
…field

Fix server crash if host header field is translated to :authority
@dklempner dklempner merged commit 32934cf into grpc:master Mar 27, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Feb 1, 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.

4 participants