mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-14 06:00:59 +00:00
Fix a heap corruption in add_ocrtext2str (#865)
This commit is contained in:
parent
84a9ea5572
commit
dd4032e515
@ -836,6 +836,7 @@ void add_ocrtext2str(char *dest, char *src, const char *crlf, unsigned crlf_leng
|
||||
if (!char_found) {
|
||||
src = line_scan;
|
||||
}
|
||||
if (*src == '\0') break;
|
||||
}
|
||||
*dest = *src;
|
||||
src++;
|
||||
|
Loading…
Reference in New Issue
Block a user