Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vs2010: Fix implementation of strcasestr
A haystack which is shorter than the needle resulted in negative value for length_haystack which was forced to a very large unsigned value. The resulting buffer overflow while reading the haystack would crash text2image when it was called with a short font name. Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information