GuidedHacking-Injector icon indicating copy to clipboard operation
GuidedHacking-Injector copied to clipboard

Prevent Use of Wrong Data After Deletion

Open mq1n opened this issue 2 years ago • 0 comments

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.

mq1n avatar Oct 28 '23 11:10 mq1n