Merge branch 'f17' into f19
This commit is contained in:
commit
6fb4dfa442
12
enscript-bufpos-crash.patch
Normal file
12
enscript-bufpos-crash.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up enscript-1.6.5.2/src/psgen.c.bufpos-crash enscript-1.6.5.2/src/psgen.c
|
||||||
|
--- enscript-1.6.5.2/src/psgen.c.bufpos-crash 2013-05-13 16:18:05.119393660 +0100
|
||||||
|
+++ enscript-1.6.5.2/src/psgen.c 2013-05-13 16:19:17.634739778 +0100
|
||||||
|
@@ -1928,7 +1928,7 @@ get_next_token (InputStream *is, double
|
||||||
|
bufpos--;
|
||||||
|
}
|
||||||
|
/* Check the octal notations "\\%03o". */
|
||||||
|
- else if (bufpos - 2 > w
|
||||||
|
+ else if (bufpos > 2 && bufpos - 2 > w
|
||||||
|
&& ISOCTAL (buffer[bufpos])
|
||||||
|
&& ISOCTAL (buffer[bufpos - 1])
|
||||||
|
&& ISOCTAL (buffer[bufpos - 2])
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A plain ASCII to PostScript converter
|
Summary: A plain ASCII to PostScript converter
|
||||||
Name: enscript
|
Name: enscript
|
||||||
Version: 1.6.6
|
Version: 1.6.6
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/Publishing
|
Group: Applications/Publishing
|
||||||
URL: http://www.gnu.org/software/enscript
|
URL: http://www.gnu.org/software/enscript
|
||||||
@ -24,6 +24,7 @@ Patch10:enscript-1.6.4-rh457720.patch
|
|||||||
Patch12:enscript-rh477382.patch
|
Patch12:enscript-rh477382.patch
|
||||||
Patch13:enscript-build.patch
|
Patch13:enscript-build.patch
|
||||||
Patch14:enscript-manfixes.patch
|
Patch14:enscript-manfixes.patch
|
||||||
|
Patch15: enscript-bufpos-crash.patch
|
||||||
|
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
@ -49,6 +50,7 @@ includes many options for customizing printouts
|
|||||||
%patch12 -p1 -b .rh477382
|
%patch12 -p1 -b .rh477382
|
||||||
%patch13 -p1 -b .build
|
%patch13 -p1 -b .build
|
||||||
%patch14 -p1 -b .manfixes
|
%patch14 -p1 -b .manfixes
|
||||||
|
%patch15 -p1 -b .bufpos-crash
|
||||||
|
|
||||||
%{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
|
%{__tar} -C states/hl -zxf %{SOURCE1} ruby.st
|
||||||
install -pm 644 %{SOURCE2} states/hl/php.st
|
install -pm 644 %{SOURCE2} states/hl/php.st
|
||||||
@ -110,6 +112,9 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 13 2013 Tim Waugh <twaugh@redhat.com> - 1.6.6-4
|
||||||
|
|
||||||
|
- Fixed word-wrapping crash in tokenizer (bug #870639).
|
||||||
* Thu Apr 04 2013 Adam Tkac <atkac redhat com> - 1.6.6-3
|
* Thu Apr 04 2013 Adam Tkac <atkac redhat com> - 1.6.6-3
|
||||||
- some manpage fixes
|
- some manpage fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user