tesseract/src/dict
Stefan Weil 71d4990c6d Fix Heap-buffer-overflow in GenericVector<int>::size (issue #2298)
Credit to OSS-Fuzz:
This fixes a security issue which was reported by OSS-Fuzz, see details at
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13590.

Add also some assertions to catch similar bugs.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-03-10 16:12:30 +01:00
..
context.cpp Remove unused include statements for tprintf.h 2018-11-18 17:25:01 +01:00
dawg_cache.cpp Fix line endings 2018-04-25 19:04:50 +02:00
dawg_cache.h Fix line endings 2018-04-25 19:04:50 +02:00
dawg.cpp Remove unused include statements 2018-10-29 19:46:58 +01:00
dawg.h Dawg: Define virtual destructor in .cpp file 2018-09-04 07:47:29 +02:00
dict.cpp Fix constructor for class Dict (uninitialized member variables) 2018-10-06 17:52:52 +02:00
dict.h Fix Heap-buffer-overflow in GenericVector<int>::size (issue #2298) 2019-03-10 16:12:30 +01:00
hyphen.cpp Remove tab character in source files 2018-10-12 11:31:10 +02:00
Makefile.am Fix whitespace issues 2018-08-01 13:19:52 +02:00
matchdefs.h Replace FLOAT32 by float data type 2018-07-02 13:29:39 +02:00
permdawg.cpp Fix use of wrong UNICHARSET 2018-10-06 13:21:09 +02:00
stopper.cpp Fix sum computation in higher precision 2018-10-16 18:01:27 +02:00
stopper.h Use using instead of typedef. Reason: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rt-using 2018-05-20 01:31:03 +03:00
trie.cpp Don't disable compiler warnings for Visual Studio 2018-05-03 14:26:20 +02:00
trie.h Clean up cutil.h 2018-07-03 11:31:41 +02:00