This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't cache results from last file examined
- The filename was stored in a fixed-size buffer, which seems to be a rich source of security vulnerabilities - The cache would incorrectly report no change when using a single temporary filename, with contents that vary over time - It's of value only in very restricted situations: the only code that could take advantage of the cache is something that's repeatedly loading the same file, without loading any other files in between Given the latter point, it doesn't seem worth fixing the first two issues.
- Loading branch information