Skip to content

Conversation

mopsiok
Copy link

@mopsiok mopsiok commented Feb 28, 2023

Prior to this change, /.well-known/core resource was prone to buffer overflow depending on the configuration.

Safe append functions were introduced to construct the result value in proper way. isBufferOk was added for an early exit in case of the buffer is full, but it was introduced for performance only and is not needed for safe operation.

The solution was tested using an existing project to make sure that it doesn't change the result.

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