rpms/texinfo/devel texinfo-4.12-install-info_crash.patch, NONE, 1.1 texinfo.spec, 1.55, 1.56

Vitezslav Crhonek (vcrhonek) fedora-extras-commits at redhat.com
Mon Jun 2 13:00:54 UTC 2008


Author: vcrhonek

Update of /cvs/extras/rpms/texinfo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30393

Modified Files:
	texinfo.spec 
Added Files:
	texinfo-4.12-install-info_crash.patch 
Log Message:
Fix install-info crashes on some info files

texinfo-4.12-install-info_crash.patch:

--- NEW FILE texinfo-4.12-install-info_crash.patch ---
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;
     }


Index: texinfo.spec
===================================================================
RCS file: /cvs/extras/rpms/texinfo/devel/texinfo.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- texinfo.spec	29 May 2008 11:44:05 -0000	1.55
+++ texinfo.spec	2 Jun 2008 13:00:14 -0000	1.56
@@ -3,7 +3,7 @@
 Summary: Tools needed to create Texinfo format documentation files
 Name: texinfo
 Version: 4.12
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv3+
 Group: Applications/Publishing
 Url: http://www.gnu.org/software/texinfo/
@@ -11,6 +11,7 @@
 Source1: info-dir
 Source2: texi2pdf.man
 Patch0: texinfo-4.12-zlib.patch
+Patch1: texinfo-4.12-install-info_crash.patch
 Requires(post): /sbin/install-info
 Requires(post): /bin/sed
 Requires(preun): /sbin/install-info
@@ -54,6 +55,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .zlib
+%patch1 -p1 -b .install-info_crash
 
 %build
 %configure
@@ -143,6 +145,10 @@
 %{_mandir}/man1/pdftexi2dvi.1*
 
 %changelog
+* Mon Jun  2 2008 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.12-3
+- Fix install-info crashes on some info files
+  Resolves: #449292
+
 * Thu May 29 2008 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.12-2
 - Fix Requires and info post script
 




More information about the fedora-extras-commits mailing list