Mailinglist Archive: opensuse-commit (918 mails)

< Previous Next >
commit t1lib
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 02 Feb 2007 15:53:15 +0100
  • Message-id: <20070202145316.1EF71678177@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package t1lib
checked in at Fri Feb 2 15:53:15 CET 2007.

--------
--- t1lib/t1lib.changes 2007-01-17 01:11:52.000000000 +0100
+++ /mounts/work_src_done/STABLE/t1lib/t1lib.changes 2007-01-31 12:01:57.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Jan 31 12:01:42 CET 2007 - mfabian@xxxxxxx
+
+- Bugzilla #240159: array subscript out of bounds.
+
+-------------------------------------------------------------------

New:
----
bugzilla-240159-array-subscript-out-of-bounds.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ t1lib.spec ++++++
--- /var/tmp/diff_new_pack.CS7582/_old 2007-02-02 15:47:38.000000000 +0100
+++ /var/tmp/diff_new_pack.CS7582/_new 2007-02-02 15:47:38.000000000 +0100
@@ -16,11 +16,12 @@
Group: System/Libraries
Autoreqprov: on
Version: 5.1.0
-Release: 1
+Release: 2
URL: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/
Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-5.1.0.tar.bz2
Patch0: t1lib-auto.patch
Patch1: t1lib-tetex.patch
+Patch2: bugzilla-240159-array-subscript-out-of-bounds.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Adobe Type 1 Font Rasterizing Library

@@ -56,6 +57,7 @@
%setup0 -q -n t1lib-%{version}
%patch0 -p1 -b .auto
#%patch1
+%patch2 -p1

%build
autoreconf -fi
@@ -104,6 +106,8 @@
/usr/include/t1libx.h

%changelog -n t1lib
+* Wed Jan 31 2007 - mfabian@xxxxxxx
+- Bugzilla #240159: array subscript out of bounds.
* Wed Jan 17 2007 - mfabian@xxxxxxx
- Bugzilla #137002: update to 5.1.0.
* Wed Aug 16 2006 - aj@xxxxxxx

++++++ bugzilla-240159-array-subscript-out-of-bounds.patch ++++++
diff -ru t1lib-5.1.0/lib/t1lib/t1aaset.c t1lib-5.1.0.new/lib/t1lib/t1aaset.c
--- t1lib-5.1.0/lib/t1lib/t1aaset.c 2005-05-02 00:05:34.000000000 +0200
+++ t1lib-5.1.0.new/lib/t1lib/t1aaset.c 2007-01-31 11:57:23.000000000 +0100
@@ -1466,7 +1466,7 @@

/* T1_AAHSetGrayValues(): Sets the byte values that are put into the
pixel position for the respective entries (for 17 gray levels):
- Returns 0 if successfull.
+ Returns 0 if successful.
*/
int T1_AAHSetGrayValues( unsigned long *grayvals)
{
@@ -1563,7 +1563,7 @@
}

for ( i=0; i<17; i++) { /* bg (i=0) to fg (i=16) */
- pgrayvals[i]=gv[i];
+ pgrayvals[i]=gv_h[i];
}
return( 0);
}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages