Skip to content

Rewrite sortlist hand parser for memory safety and bugs#653

Merged
bradh352 merged 2 commits intoc-ares:mainfrom
bradh352:sortlist
Dec 8, 2023
Merged

Rewrite sortlist hand parser for memory safety and bugs#653
bradh352 merged 2 commits intoc-ares:mainfrom
bradh352:sortlist

Conversation

@bradh352
Copy link
Member

@bradh352 bradh352 commented Dec 8, 2023

The parser for the sortlist has been rewritten to use the ares__buf_*() functions. This also resolves some known bugs in accepting invalid sortlist entries which should have caused parse failures.

Fixes Bug: #501
Fix By: Brad House (@bradh352)

@bradh352 bradh352 changed the title Rewrite softlist hand parser for memory safety and bugs Rewrite sortlist hand parser for memory safety and bugs Dec 8, 2023
@bradh352 bradh352 merged commit e72ae09 into c-ares:main Dec 8, 2023
@bradh352 bradh352 deleted the sortlist branch December 8, 2023 18:25
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.

1 participant