]> git.pld-linux.org Git - packages/tesseract.git/blob - format-security.patch
- fix format string error
[packages/tesseract.git] / format-security.patch
1 --- tesseract-ocr/dict/permdawg.cpp~    2012-09-02 22:08:43.000000000 +0200
2 +++ tesseract-ocr/dict/permdawg.cpp     2013-07-14 16:06:15.545850330 +0200
3 @@ -205,7 +205,7 @@
4            STRING word_str;
5            word->string_and_lengths(&word_str, NULL);
6            word_str += " ";
7 -          fprintf(output_ambig_words_file_, word_str.string());
8 +          fprintf(output_ambig_words_file_, "%s", word_str.string());
9          }
10          WERD_CHOICE *adjusted_word = word;
11          WERD_CHOICE hyphen_tail_word(&getUnicharset());
This page took 0.101949 seconds and 3 git commands to generate.