rpms/texinfo/devel texinfo-4.13a-mosdo-crash.patch, NONE, 1.1 texinfo.spec, 1.64, 1.65
vcrhonek
vcrhonek at fedoraproject.org
Mon Dec 14 16:16:27 UTC 2009
Author: vcrhonek
Update of /cvs/pkgs/rpms/texinfo/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15326
Modified Files:
texinfo.spec
Added Files:
texinfo-4.13a-mosdo-crash.patch
Log Message:
Fix memory allocation bug when using old-style --section 'Foo' arguments
texinfo-4.13a-mosdo-crash.patch:
install-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE texinfo-4.13a-mosdo-crash.patch ---
--- 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)
Index: texinfo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/texinfo/devel/texinfo.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -p -r1.64 -r1.65
--- texinfo.spec 2 Sep 2009 13:31:02 -0000 1.64
+++ texinfo.spec 14 Dec 2009 16:16:26 -0000 1.65
@@ -3,7 +3,7 @@
Summary: Tools needed to create Texinfo format documentation files
Name: texinfo
Version: 4.13a
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPLv3+
Group: Applications/Publishing
Url: http://www.gnu.org/software/texinfo/
@@ -12,6 +12,8 @@ Source1: info-dir
Source2: texi2pdf.man
Patch0: texinfo-4.12-zlib.patch
Patch1: texinfo-4.13a-data_types.patch
+# Patch2: is already upstream
+Patch2: texinfo-4.13a-mosdo-crash.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -55,6 +57,7 @@ for printing using TeX.
%setup -q -n %{name}-4.13
%patch0 -p1 -b .zlib
%patch1 -p1 -b .data_types
+%patch2 -p1 -b .mosdo-crash
%build
%configure
@@ -154,6 +157,9 @@ fi
%{_mandir}/man1/pdftexi2dvi.1*
%changelog
+* Mon Dec 14 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.13a-8
+- Fix memory allocation bug when using old-style --section "Foo" arguments
+
* Wed Sep 2 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 4.13a-7
- Fix errors installing texinfo/info with --excludedocs
Resolves: #515909
More information about the scm-commits
mailing list