Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Fix expectation and use of SocketsConfig_t::pAlpnProtos #3533

Closed
wants to merge 6 commits into from

Conversation

dachalco
Copy link
Contributor

@dachalco dachalco commented Sep 22, 2022

Description

As detailed in #3516, the expectation and use of pAlpnProtos was that of a string, but it's propagated to lower layers as an array of strings instead. Incorrectly calculating the number of separate protocols as the demos set pAlpnProtos as a string, yet transport_secure_sockets.c#L267 assumes the number of separate protocols is the length of this string.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@dachalco
Copy link
Contributor Author

/bot run checks

1 similar comment
@dachalco
Copy link
Contributor Author

/bot run checks

@dachalco dachalco marked this pull request as ready for review September 22, 2022 15:22
@dachalco dachalco requested a review from a team as a code owner September 22, 2022 15:22
@xuelix
Copy link
Member

xuelix commented Sep 22, 2022

/bot run checks

@dachalco
Copy link
Contributor Author

/bot run checks

3 similar comments
@xuelix
Copy link
Member

xuelix commented Sep 23, 2022

/bot run checks

@dachalco
Copy link
Contributor Author

/bot run checks

@gmtt
Copy link

gmtt commented Oct 13, 2022

/bot run checks

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

Successfully merging this pull request may close these issues.

4 participants