[texlive/f16] fix segfault in the tex binary while compiling dvipdfm documentation (#754517)
Jindrich Novy
jnovy at fedoraproject.org
Wed Nov 30 12:51:33 UTC 2011
commit 6133eab91512611b2fd992fee0c8a6803f91f3ae
Author: Jindrich Novy <jnovy at redhat.com>
Date: Wed Nov 30 13:51:20 2011 +0100
fix segfault in the tex binary while compiling dvipdfm documentation (#754517)
texlive-extramembot.patch | 36 ++++++++++++++++++++++++++++++++++++
texlive.spec | 7 ++++++-
2 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/texlive-extramembot.patch b/texlive-extramembot.patch
new file mode 100644
index 0000000..95f36ba
--- /dev/null
+++ b/texlive-extramembot.patch
@@ -0,0 +1,36 @@
+diff -up texlive-2007/texk/web2c/ptex-src-3.1.10/ptex-base.ch.extramembot texlive-2007/texk/web2c/ptex-src-3.1.10/ptex-base.ch
+--- texlive-2007/texk/web2c/ptex-src-3.1.10/ptex-base.ch.extramembot 2006-07-18 10:03:33.000000000 +0200
++++ texlive-2007/texk/web2c/ptex-src-3.1.10/ptex-base.ch 2011-11-30 12:04:46.180922908 +0100
+@@ -92,7 +92,7 @@ message_printing: boolean; { true if mes
+ {Initialize enc\TeX\ data.}
+ for i:=0 to 255 do mubyte_read[i]:=null;
+ for i:=0 to 255 do mubyte_write[i]:=0;
+-for i:=0 to 128 do mubyte_cswrite[i]:=null;
++for i:=0 to 127 do mubyte_cswrite[i]:=null;
+ mubyte_keep := 0; mubyte_start := false;
+ write_noexpanding := false; cs_converting := false;
+ special_printing := false; message_printing := false;
+diff -up texlive-2007/texk/web2c/tex.ch.extramembot texlive-2007/texk/web2c/tex.ch
+--- texlive-2007/texk/web2c/tex.ch.extramembot 2006-12-19 02:11:11.000000000 +0100
++++ texlive-2007/texk/web2c/tex.ch 2011-11-30 12:03:32.052795763 +0100
+@@ -365,7 +365,7 @@ for i:=@'177 to @'377 do xchr[i]:=i;
+ {Initialize enc\TeX\ data.}
+ for i:=0 to 255 do mubyte_read[i]:=null;
+ for i:=0 to 255 do mubyte_write[i]:=0;
+-for i:=0 to 128 do mubyte_cswrite[i]:=null;
++for i:=0 to 127 do mubyte_cswrite[i]:=null;
+ mubyte_keep := 0; mubyte_start := false;
+ write_noexpanding := false; cs_converting := false;
+ special_printing := false; message_printing := false;
+diff -up texlive-2007/texk/web2c/xetexdir/xetex-noenc.ch.extramembot texlive-2007/texk/web2c/xetexdir/xetex-noenc.ch
+--- texlive-2007/texk/web2c/xetexdir/xetex-noenc.ch.extramembot 2006-07-26 18:19:45.000000000 +0200
++++ texlive-2007/texk/web2c/xetexdir/xetex-noenc.ch 2011-11-30 12:03:32.053795764 +0100
+@@ -178,7 +178,7 @@ for i:=@'177 to @'377 do xchr[i]:=i;
+ {Initialize enc\TeX\ data.}
+ for i:=0 to 255 do mubyte_read[i]:=null;
+ for i:=0 to 255 do mubyte_write[i]:=0;
+-for i:=0 to 128 do mubyte_cswrite[i]:=null;
++for i:=0 to 127 do mubyte_cswrite[i]:=null;
+ mubyte_keep := 0; mubyte_start := false;
+ write_noexpanding := false; cs_converting := false;
+ special_printing := false; message_printing := false;
diff --git a/texlive.spec b/texlive.spec
index 8efecdc..0f74766 100644
--- a/texlive.spec
+++ b/texlive.spec
@@ -21,7 +21,7 @@
Name: texlive
Version: %{texlive_ver}
-Release: 65%{?dist}
+Release: 66%{?dist}
Summary: Binaries for the TeX formatting system
Group: Applications/Publishing
@@ -83,6 +83,7 @@ Patch34: texlive-dvipsconfig.patch
Patch35: texlive-CVE-2010-0829-dvipng-multiple-array-indexing-errors.patch
Patch36: texlive-CVE-2010-0739,1440-integer-overflows.patch
Patch37: texlive-execshield.patch
+Patch38: texlive-extramembot.patch
######
# mpeters contributed patches
@@ -481,6 +482,7 @@ cd -
patch -d texk/pdvipsk -p1 < pdvipsk/dvipsk-%{pdvipsk_ver}.patch || :
%patch1000 -p1 -b .pdvips
ln -s dvips.1 texk/pdvipsk/pdvips.1
+%patch38 -p1 -b .extramembot
# set up mendexk
tar xfz %{SOURCE1002} -C texk
@@ -1262,6 +1264,9 @@ fi
%{_mandir}/man1/texutil.1*
%changelog
+* Wed Nov 30 2011 Jindrich Novy <jnovy at redhat.com> 2007-66
+- fix segfault in the tex binary while compiling dvipdfm documentation (#754517)
+
* Mon Oct 3 2011 Marek Kasik <mkasik at redhat.com> - 2007-65
- Rebuild (poppler-0.18.0 stable)
More information about the scm-commits
mailing list