Skip to content

Conversation

@TingDaoK
Copy link
Contributor

@TingDaoK TingDaoK commented Feb 1, 2023

Issue #, if available:

  • when error happens before allocator get assigned, it will lead to crash from aws_http_proxy_config_destroy, which will use config->allocator

Description of changes:

  • Assign allocator before any goto error

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@TingDaoK TingDaoK merged commit 0c79a1c into main Feb 1, 2023
@TingDaoK TingDaoK deleted the proxy-config-new-crash branch February 1, 2023 01:37
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