fix segfault in the tex binary while compiling dvipdfm documentation (#754517)
This commit is contained in:
parent
ebf8d814ba
commit
6133eab915
36
texlive-extramembot.patch
Normal file
36
texlive-extramembot.patch
Normal file
@ -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;
|
@ -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@redhat.com> 2007-66
|
||||
- fix segfault in the tex binary while compiling dvipdfm documentation (#754517)
|
||||
|
||||
* Mon Oct 3 2011 Marek Kasik <mkasik@redhat.com> - 2007-65
|
||||
- Rebuild (poppler-0.18.0 stable)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user