tesseract/ccutil
Noah Metzger d88a6b5c19 Replace unsecure _splitpath by secure _splitpath_s
Use the predefined macros for the lengths of drive, dir and path.
This avoids potential buffer overruns.
Show also an error message in case of a too long path.

Signed-off-by: Noah Metzger <noah.metzger@bib.uni-mannheim.de>
2018-04-12 16:32:47 +02:00
..
ambigs.cpp Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
ambigs.h Remove extra semicolons 2017-07-15 12:40:34 +02:00
basedir.cpp Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
basedir.h Fixed relative-to-executable tessdata location, while allowing for addition of terminating / 2012-10-09 00:41:08 +00:00
bits16.h BITS16: Use inline code for all constructors (#1434) 2018-03-28 10:02:37 +02:00
bitvector.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
bitvector.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
ccutil.cpp Remove parameter m_data_sub_dir (#1356) 2018-03-03 14:34:24 +01:00
ccutil.h Remove parameter m_data_sub_dir (#1356) 2018-03-03 14:34:24 +01:00
clst.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
clst.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
doubleptr.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
elst2.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
elst2.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
elst.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
elst.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
errcode.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
errcode.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
fileerr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
genericheap.h Fix #define guards in header files 2016-12-04 15:43:03 +01:00
genericvector.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
globaloc.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
globaloc.h fix filenames in comments 2017-07-02 17:35:47 -04:00
helpers.h Add IntCastRounded for float argument (#1433) 2018-03-27 14:34:06 +02:00
host.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
indexmapbidi.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
indexmapbidi.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
kdpair.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
lsterr.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
mainblk.cpp Replace unsecure _splitpath by secure _splitpath_s 2018-04-12 16:32:47 +02:00
Makefile.am BITS16: Use inline code for all constructors (#1434) 2018-03-28 10:02:37 +02:00
memry.cpp Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
memry.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
ndminx.h Harmless improvements from 3.00 going in to 2.04 2008-12-30 18:20:15 +00:00
nwmain.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
object_cache.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
ocrclass.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
params.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
params.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
platform.h Remove obsolete code (#1365) 2018-03-08 21:12:23 +01:00
qrsequence.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
scanutils.cpp More formatting fixes from clang tidy 2017-04-28 13:38:32 -07:00
scanutils.h Applied patch to refix issue 331 2014-04-23 23:12:53 +00:00
serialis.cpp Fix issues reported by Coverity Scan (#1409) 2018-03-22 20:00:01 +01:00
serialis.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
sorthelper.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
stderr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
strngs.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
strngs.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
tesscallback.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
tessdatamanager.cpp tessdatamanager: Use PACKAGE_VERSION instead of TESSERACT_VERSION_STR (#1407) 2018-03-22 07:43:35 +01:00
tessdatamanager.h tessdatamanager: Use PACKAGE_VERSION instead of TESSERACT_VERSION_STR (#1407) 2018-03-22 07:43:35 +01:00
tprintf.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tprintf.h Moved -v to training 2014-01-09 17:25:12 +00:00
unichar.cpp Remove old code for string class (no longer needed) (#1354) 2018-03-03 14:36:28 +01:00
unichar.h Fixed unqualified class "string" (#1082) 2018-02-28 15:16:23 +01:00
unicharcompress.cpp Remove unused local variable max_num_strokes (#1417) 2018-03-25 17:26:28 +02:00
unicharcompress.h Use POSIX data types for external interfaces (#1358) 2018-03-13 19:01:40 +01:00
unicharmap.cpp Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
unicharmap.h Changed the way unicharsets are handled to allow support for the ™ character. Can find the issue where it was requested. 2017-07-24 11:45:57 -07:00
unicharset.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
unicharset.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
unicity_table.h fix filenames in comments 2017-07-02 17:35:47 -04:00
unicodes.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
unicodes.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
universalambigs.cpp Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files. 2015-07-09 14:28:20 -07:00
universalambigs.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00