texinfo/texinfo-4.12-install-info_crash.patch

13 lines
517 B
Diff
Raw Normal View History

diff -up texinfo-4.12/install-info/install-info.c_old texinfo-4.12/install-info/install-info.c
--- texinfo-4.12/install-info/install-info.c_old 2008-06-02 13:00:35.000000000 +0200
+++ texinfo-4.12/install-info/install-info.c 2008-06-02 13:01:18.000000000 +0200
@@ -1465,7 +1465,7 @@ split_entry (char *entry, char **name, s
size_t length = strlen (entry);
if (length == 0)
return;
- *name = strdup (ptr);
+ *name = strdup (entry);
*name_len = length + 1;
return;
}