Skip to content

altsvc: fix rejection of negative port numbers#10095

Closed
bagder wants to merge 2 commits intomasterfrom
bagder/altsvc-port
Closed

altsvc: fix rejection of negative port numbers#10095
bagder wants to merge 2 commits intomasterfrom
bagder/altsvc-port

Conversation

@bagder
Copy link
Member

@bagder bagder commented Dec 14, 2022

strtoul() accepts a leading minus so better make sure there is none

Extended test 356 somewhat to use a huge negative 64 bit number that otherwise becomes a low positive number.

strtoul() accepts a leading minus so better make sure there is none

Extended test 356 somewhat to use a huge negative 64 bit number that
otherwise becomes a low positive number.
@bagder bagder added the HTTP label Dec 14, 2022
@bagder bagder closed this in b740f15 Dec 15, 2022
@bagder bagder deleted the bagder/altsvc-port branch December 15, 2022 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant