File: fix_buffer_overflow_2.diff

package info (click to toggle)
cuneiform 1.1.0%2Bdfsg-9
  • links: PTS
  • area: non-free
  • in suites: bookworm
  • size: 71,808 kB
  • sloc: ansic: 183,506; cpp: 101,929; makefile: 82; sh: 59
file content (18 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Split original patch by Slawomir and update the same to apply
neatly.
Author: Bhavani Shankar <bhavi@ubuntu.com>


--- cuneiform-1.1.0+dfsg.orig/cuneiform_src/Kern/rstr/src/acc_tabs.c
+++ cuneiform-1.1.0+dfsg/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],  "");