Package list unrtf / a4dba30
convert.c/cmd_expand: Make buffer bigger Willi Mann 4 years ago
2 changed file(s) with 22 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Willi Mann <willi@debian.org>
1 Date: Sat, 31 Dec 2016 14:43:10 +0100
2 Subject: cmd_expand: Make buffer bigger
3
4 ---
5 src/convert.c | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 diff --git a/src/convert.c b/src/convert.c
9 index c76d7d6..376be5f 100644
10 --- a/src/convert.c
11 +++ b/src/convert.c
12 @@ -1373,7 +1373,7 @@ cmd_ftech (Word *w, int align, char has_param, int param) {
13
14 static int
15 cmd_expand (Word *w, int align, char has_param, int param) {
16 - char str[10];
17 + char str[15];
18 if (has_param) {
19 sprintf(str, "%d", param/4);
20 if (!param)
0 0001-cmd_expand-Make-buffer-bigger.patch