aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-mosdo-crash.patch
blob: 49b568fa1fee6b25202283aaa1d8e2668748c4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Upstream-Status: Pending

--- 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)