summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-mosdo-crash.patch
blob: 77e3a76decc1b0e1cc8183b4fe7c81926de34a46 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- texinfo-4.13/install-info/install-info.c.mosdo-crash	2009-09-02 20:18:44.000000000 -0400
+++ texinfo-4.13/install-info/install-info.c	2009-09-02 20:19:53.000000000 -0400
@@ -1765,7 +1765,7 @@
             err = argz_add (&argz, &argz_len, opt);
           free (opt); opt = NULL;
 
-          opt = xmalloc (strlen (regex) + sizeof ("--section="));
+          opt = xmalloc (strlen (title) + sizeof ("--section="));
           if (sprintf (opt, "--section=%s", title) == -1)
             err = 1;
           if (!err)