This commit is contained in:
parent
04353c0d8a
commit
ca414dbb7c
13
groff-1.18.1.1-destbufferoverflow.patch
Normal file
13
groff-1.18.1.1-destbufferoverflow.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: src/devices/grops/ps.cc
|
||||
===================================================================
|
||||
--- src/devices/grops/ps.cc.orig 2002-06-19 23:07:33.000000000 +0200
|
||||
+++ src/devices/grops/ps.cc 2008-10-07 23:57:44.000000000 +0200
|
||||
@@ -739,7 +739,7 @@ void ps_printer::encode_fonts()
|
||||
{
|
||||
if (next_encoding_index == 0)
|
||||
return;
|
||||
- char *done_encoding = new char[next_encoding_index];
|
||||
+ char *done_encoding = new char[next_encoding_index +1];
|
||||
for (int i = 0; i < next_encoding_index; i++)
|
||||
done_encoding[i] = 0;
|
||||
for (font_pointer_list *f = font_list; f; f = f->next) {
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 8 02:10:33 CEST 2008 - crrodriguez@suse.de
|
||||
|
||||
- fix buffer overflow in ps.cc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 6 22:15:13 CEST 2008 - meissner@suse.de
|
||||
|
||||
|
@ -29,7 +29,7 @@ Obsoletes: jgroff
|
||||
PreReq: %fillup_prereq %install_info_prereq
|
||||
AutoReqProv: on
|
||||
Version: 1.18.1.1
|
||||
Release: 164
|
||||
Release: 165
|
||||
Summary: GNU troff Document Formatting System
|
||||
Url: http://www.gnu.org/software/groff/groff.html
|
||||
# cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/groff co groff
|
||||
@ -52,6 +52,7 @@ Patch10: bugzilla-217106-too-few-arguments-in-function-call.patch
|
||||
Patch11: bugzilla-292412-special-encoding-handling-also-for-chinese.patch
|
||||
Patch12: gcc43.patch
|
||||
Patch13: fgets-overflow.patch
|
||||
Patch14: groff-1.18.1.1-destbufferoverflow.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -86,6 +87,7 @@ Authors:
|
||||
%patch11 -p1
|
||||
%patch12 -p0
|
||||
%patch13 -p0
|
||||
%patch14
|
||||
|
||||
%build
|
||||
# remove empty backups
|
||||
@ -187,6 +189,8 @@ popd
|
||||
/var/adm/fillup-templates/sysconfig.suseconfig-groff
|
||||
|
||||
%changelog
|
||||
* Wed Oct 08 2008 crrodriguez@suse.de
|
||||
- fix buffer overflow in ps.cc
|
||||
* Tue Oct 07 2008 meissner@suse.de
|
||||
- fixed fgets overflow
|
||||
- fixed some rpmlint issues
|
||||
|
@ -25,7 +25,7 @@ AutoReqProv: on
|
||||
Requires: groff
|
||||
Conflicts: jgxdview
|
||||
Version: 1.18.1.1
|
||||
Release: 205
|
||||
Release: 206
|
||||
Summary: Ditroff Output Displayer for Groff
|
||||
Url: http://www.gnu.org/software/groff/groff.html
|
||||
Source0: ftp://ftp.gnu.org/gnu/groff/groff-1.18.1.1.tar.bz2
|
||||
|
Loading…
x
Reference in New Issue
Block a user