Skip to content

Conversation

dr-frmr
Copy link
Contributor

@dr-frmr dr-frmr commented May 2, 2024

Problem

dnswire_decode function in app_store and kns_indexer can crash if the wire is somehow formatted illegally. We had this occur, and this makes that error get handled gracefully.

Solution

Move function to process_lib so it never needs to be re-implemented. Use get on slice to handle out of range indices.

Docs Update

N/A

@dr-frmr dr-frmr merged commit 05bbf40 into develop May 3, 2024
@dr-frmr dr-frmr deleted the dr/fix-dnswire_decode branch May 3, 2024 16:20
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