diff -up texlive-20130427_r30134/source/texk/dvipsk/writet1.c.orig texlive-20130427_r30134/source/texk/dvipsk/writet1.c
--- texlive-20130427_r30134/source/texk/dvipsk/writet1.c.orig 2013-04-25 19:16:48.000000000 +0100
+++ texlive-20130427_r30134/source/texk/dvipsk/writet1.c 2019-07-25 12:37:43.385859300 +0100
@@ -1447,7 +1447,9 @@ static void t1_check_unusual_charstring(
*(strend(t1_buf_array) - 1) = ' ';
t1_getline();
+ alloc_array(t1_buf, strlen(t1_line_array) + strlen(t1_buf_array) + 1, T1_BUF_SIZE);
strcat(t1_buf_array, t1_line_array);
+ alloc_array(t1_line, strlen(t1_buf_array) + 1, T1_BUF_SIZE);
strcpy(t1_line_array, t1_buf_array);
t1_line_ptr = eol(t1_line_array);
}
diff -up texlive-20130427_r30134/source/texk/web2c/pdftexdir/writet1.c.orig texlive-20130427_r30134/source/texk/web2c/pdftexdir/writet1.c
--- texlive-20130427_r30134/source/texk/web2c/pdftexdir/writet1.c.orig 2013-04-25 19:16:47.000000000 +0100
+++ texlive-20130427_r30134/source/texk/web2c/pdftexdir/writet1.c 2019-07-25 12:37:43.386859270 +0100
@@ -1596,7 +1596,9 @@ static void t1_check_unusual_charstring(
*(strend(t1_buf_array) - 1) = ' ';
t1_getline();
+ alloc_array(t1_buf, strlen(t1_line_array) + strlen(t1_buf_array) + 1, T1_BUF_SIZE);
strcat(t1_buf_array, t1_line_array);
+ alloc_array(t1_line, strlen(t1_buf_array) + 1, T1_BUF_SIZE);
strcpy(t1_line_array, t1_buf_array);
t1_line_ptr = eol(t1_line_array);
}
--- texlive-2012/source/texk/web2c/luatexdir/font/writet1.w.orig 2019-08-26 18:40:06.981813698 +0200
+++ texlive-2012/source/texk/web2c/luatexdir/font/writet1.w 2019-08-26 18:39:31.394605507 +0200
@@ -1638,7 +1638,9 @@
if (sscanf(p, "%i", &i) != 1) {
strcpy(t1_buf_array, t1_line_array);
t1_getline();
+ alloc_array(t1_buf, strlen(t1_line_array) + strlen(t1_buf_array) + 1, T1_BUF_SIZE);
strcat(t1_buf_array, t1_line_array);
+ alloc_array(t1_line, strlen(t1_buf_array) + 1, T1_BUF_SIZE);
strcpy(t1_line_array, t1_buf_array);
t1_line_ptr = eol(t1_line_array);
}