Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve robustness of TessdataManager
Tesseract crashes with an unhandled exception (std::bad_alloc) if it gets a bad tessdata file where the numEntries data field is very large (also after swapping), for example 0x77777777. Signed-off-by: Stefan Weil <sw@weilnetz.de>
- Loading branch information