summaryrefslogtreecommitdiff
path: root/app-text/cuneiform/files/cuneiform-1.1.0-fix_buffer_overflow_2.patch
blob: 2057aa584dead7d29e69da60485ecdaebd216123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Split original patch by Slawomir and update the same to apply neatly.
Author: Bhavani Shankar <bhavi@ubuntu.com>
--- a/cuneiform_src/Kern/rstr/src/acc_tabs.c
+++ b/cuneiform_src/Kern/rstr/src/acc_tabs.c
@@ -2821,8 +2821,8 @@ if( CodePages[language]==CSTR_EASTEUROPE
     strcpy(decode_ASCII_to_[(uchar)liga_j      ],   "_j_");
     strcpy(decode_ASCII_to_[(uchar)liga_exm    ],   "_!_");
     strcpy(decode_ASCII_to_[(uchar)liga_qm     ],   "_?_");
-    strcpy(decode_ASCII_to_[(uchar)liga_inv_exm],   "_!!_");
-    strcpy(decode_ASCII_to_[(uchar)liga_inv_qm ],   "_??_");
+    strcpy(decode_ASCII_to_[(uchar)liga_inv_exm],   "_!_");
+    strcpy(decode_ASCII_to_[(uchar)liga_inv_qm ],   "_?_");
     strcpy(decode_ASCII_to_[(uchar)liga_bull   ],   "\xB0");
     strcpy(decode_ASCII_to_[(uchar)left_quocket],   "«");
     strcpy(decode_ASCII_to_[(uchar)right_quocket],  "»");