tesseract/vs2010/port
Stefan Weil 4708ea3b42 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 <sw@weilnetz.de>
2016-08-31 14:48:07 +02:00
..
gettimeofday.cpp add VS2010 solution and update VS2008 solution 2013-10-31 13:14:24 +00:00
gettimeofday.h add VS2010 solution and update VS2008 solution 2013-10-31 13:14:24 +00:00
mathfix.h mathfix.h for VS2013, add lib-opencl-debug configuration to VS2010 2014-02-13 09:38:08 +00:00
strcasestr.cpp vs2010: Fix implementation of strcasestr 2016-08-31 14:48:07 +02:00
strcasestr.h fix windows builds (mingw and VS2010) 2014-01-26 22:39:20 +00:00
strtok_r.cpp add VS2010 solution and update VS2008 solution 2013-10-31 13:14:24 +00:00
strtok_r.h reflect the latest commits in VS2010 build 2015-05-14 10:52:54 +02:00
vcsversion.h change version 2015-07-11 09:43:50 +02:00