[liblouis-liblouisxml] [liblouis] r859 committed - Fix crash in test typeform.c...

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 13 Dec 2012 15:26:50 +0000

Revision: 859
Author:   bertfrees@xxxxxxxxx
Date:     Thu Dec 13 07:25:44 2012
Log:      Fix crash in test typeform.c

widechar strings are not 0-terminated
http://code.google.com/p/liblouis/source/detail?r=859

Modified:
 /trunk/liblouis/compileTranslationTable.c

=======================================
--- /trunk/liblouis/compileTranslationTable.c   Thu Dec 13 05:00:37 2012
+++ /trunk/liblouis/compileTranslationTable.c   Thu Dec 13 07:25:44 2012
@@ -1613,7 +1613,6 @@
     }
   for (k = 0; k < result.length; k++)
     outString[k] = result.chars[k];
-  outString[k] = 0;
   return result.length;
 }

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] [liblouis] r859 committed - Fix crash in test typeform.c... - liblouis