mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-14 16:49:30 +08:00
4708ea3b42
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 <sw@weilnetz.de> |
||
---|---|---|
.. | ||
gettimeofday.cpp | ||
gettimeofday.h | ||
mathfix.h | ||
strcasestr.cpp | ||
strcasestr.h | ||
strtok_r.cpp | ||
strtok_r.h | ||
vcsversion.h |