Package list unrtf / a4dba30 debian / patches / 0001-cmd_expand-Make-buffer-bigger.patch
a4dba30

Tree @a4dba30 (Download .tar.gz)

0001-cmd_expand-Make-buffer-bigger.patch @a4dba30raw · history · blame

From: Willi Mann <willi@debian.org>
Date: Sat, 31 Dec 2016 14:43:10 +0100
Subject: cmd_expand: Make buffer bigger

---
 src/convert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/convert.c b/src/convert.c
index c76d7d6..376be5f 100644
--- a/src/convert.c
+++ b/src/convert.c
@@ -1373,7 +1373,7 @@ cmd_ftech (Word *w, int align, char has_param, int param) {
 
 static int 
 cmd_expand (Word *w, int align, char has_param, int param) {
-	char str[10];
+	char str[15];
 	if (has_param) {
 		sprintf(str, "%d", param/4);
 		if (!param)