Skip to content

Conversation

@mq1n
Copy link
Contributor

@mq1n mq1n commented Oct 28, 2023

This pull request addresses an issue where the delete[] headers; statement was positioned incorrectly, potentially leading to the use of invalid data after deletion. The change reorders the statements to ensure that headers is deleted before returning FILE_ERR_INVALID_FILE to avoid using the deleted data.

This pull request addresses an issue where the delete[] headers; statement was positioned incorrectly, potentially leading to the use of invalid data after deletion. The change reorders the statements to ensure that headers is deleted before returning FILE_ERR_INVALID_FILE to avoid using the deleted data.
@Broihon Broihon merged commit db8b0cc into guidedhacking:master Mar 8, 2024
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.

2 participants