Package: liblouis / 3.0.0-3+deb9u4

cve-2018-11685 Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
commit b5049cb17ae3d15b2b26890de0e24d0fecc080f5
Author: Christian Egli <christian.egli@sbs.ch>
Date:   Mon Jun 4 15:47:28 2018 +0200

    Fix yet another buffer overflow in the braille table parser
    
    Reported by Henri Salo
    
    Fixes #593

---
 liblouis/compileTranslationTable.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/liblouis/compileTranslationTable.c
+++ b/liblouis/compileTranslationTable.c
@@ -3582,7 +3582,7 @@ compileHyphenation (FileInfo * nested, C
   HyphenationTrans *holdPointer;
   HyphenHashTab *hashTab;
   CharsString word;
-  char pattern[MAXSTRING];
+  char pattern[MAXSTRING + 1];
   unsigned int stateNum = 0, lastState = 0;
   int i, j, k = encoding->length;
   widechar ch;