Mailinglist Archive: opensuse-commit (1191 mails)

< Previous Next >
commit ghostscript-library
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sat, 02 Aug 2008 01:01:30 +0200
  • Message-id: <20080801230131.1AAA867804A@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package ghostscript-library
checked in at Sat Aug 2 01:01:30 CEST 2008.


--------
--- ghostscript-library/ghostscript-library.changes 2008-04-07
12:40:43.000000000 +0200
+++ ghostscript-library/ghostscript-library.changes 2008-07-29
13:54:30.818466000 +0200
@@ -1,0 +2,10 @@
+Tue Jul 29 13:53:46 CEST 2008 - werner@xxxxxxx
+
+- Fix crash in bjc driver (bnc#412523)
+
+-------------------------------------------------------------------
+Thu Jul 24 18:12:47 CEST 2008 - werner@xxxxxxx
+
+- Fix crash on null pointer reference (bnc#409605)
+
+-------------------------------------------------------------------
ghostscript-mini.changes: same change



Old:
----
ghostscript-8.61-bjc.dif

New:
----
ghostscript-8.62-bjc.dif
ghostscript-8.62-cos_type.dif

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

Other differences:
------------------
++++++ ghostscript-library.spec ++++++
--- /var/tmp/diff_new_pack.H21993/_old 2008-08-02 00:53:44.000000000 +0200
+++ /var/tmp/diff_new_pack.H21993/_new 2008-08-02 00:53:44.000000000 +0200
@@ -52,7 +52,7 @@
Summary: Necessary Files for Running Ghostscript
%endif
Version: 8.62
-Release: 3
+Release: 31
License: GPL v2 or later
Source0: ghostscript-8.62.tar.bz2
Source1:
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.bz2
@@ -81,7 +81,7 @@
Patch1: ghostscript-8.60-pdf.dif
Patch2: ghostscript-8.57-sgirdb.dif
Patch3: ghostscript-8.61-x11.dif
-Patch4: ghostscript-8.61-bjc.dif
+Patch4: ghostscript-8.62-bjc.dif
Patch5: ghostscript-8.60-alignment.dif
Patch6: ghostscript-8.61-broken64.dif
Patch7: ghostscript-8.60-cgmout.dif
@@ -101,6 +101,7 @@
Patch21: ghostscript-8.62-echogs.patch
# Currently not applied, does not fit into revision 8594+
Patch22: ghostscript-8.62-cjk.patch
+Patch23: ghostscript-8.62-cos_type.dif
Patch24: ghostscript-fonts-std-8.11.patch
Patch25: Omni-0.9.2.dif.bz2
Patch26: hpdj-2.6-gs8.60.dif
@@ -308,7 +309,7 @@
%package -n libgimpprint
License: GPL v2 or later
Version: 4.2.7
-Release: 244
+Release: 272
Summary: Gimp-Print libraries
Group: Development/Libraries/C and C++

@@ -324,7 +325,7 @@
%package -n libgimpprint-devel
License: GPL v2 or later
Version: 4.2.7
-Release: 244
+Release: 272
PreReq: %install_info_prereq
Requires: libgimpprint = %{version}
Requires: glibc-devel
@@ -422,6 +423,7 @@
%patch20 -p0 -b .bbox
%patch21 -p1 -b .echogs
#%patch22 -p0 -b .cjk
+%patch23 -p0 -b .cos_type
%patch0 -p0

%build
@@ -1316,6 +1318,10 @@
%endif

%changelog
+* Tue Jul 29 2008 werner@xxxxxxx
+- Fix crash in bjc driver (bnc#412523)
+* Thu Jul 24 2008 werner@xxxxxxx
+- Fix crash on null pointer reference (bnc#409605)
* Mon Apr 07 2008 werner@xxxxxxx
- Be sure the disabling of Font API works even without the driver
* Thu Apr 03 2008 dmueller@xxxxxxx

++++++ ghostscript-mini.spec ++++++
--- /var/tmp/diff_new_pack.H21993/_old 2008-08-02 00:53:44.000000000 +0200
+++ /var/tmp/diff_new_pack.H21993/_new 2008-08-02 00:53:44.000000000 +0200
@@ -52,7 +52,7 @@
Summary: SuSE internal replacement for ghostscript-library and
ghostscript-any (Ghostscript)
%endif
Version: 8.62
-Release: 3
+Release: 21
License: GPL v2 or later
Source0: ghostscript-8.62.tar.bz2
Source1:
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/current/ghostscript-fonts-std-8.11.tar.bz2
@@ -81,7 +81,7 @@
Patch1: ghostscript-8.60-pdf.dif
Patch2: ghostscript-8.57-sgirdb.dif
Patch3: ghostscript-8.61-x11.dif
-Patch4: ghostscript-8.61-bjc.dif
+Patch4: ghostscript-8.62-bjc.dif
Patch5: ghostscript-8.60-alignment.dif
Patch6: ghostscript-8.61-broken64.dif
Patch7: ghostscript-8.60-cgmout.dif
@@ -101,6 +101,7 @@
Patch21: ghostscript-8.62-echogs.patch
# Currently not applied, does not fit into revision 8594+
Patch22: ghostscript-8.62-cjk.patch
+Patch23: ghostscript-8.62-cos_type.dif
Patch24: ghostscript-fonts-std-8.11.patch
Patch25: Omni-0.9.2.dif.bz2
Patch26: hpdj-2.6-gs8.60.dif
@@ -301,7 +302,7 @@
%package -n libgimpprint
License: GPL v2 or later
Version: 4.2.7
-Release: 244
+Release: 272
Summary: Gimp-Print libraries
Group: Development/Libraries/C and C++

@@ -317,7 +318,7 @@
%package -n libgimpprint-devel
License: GPL v2 or later
Version: 4.2.7
-Release: 244
+Release: 272
PreReq: %install_info_prereq
Requires: libgimpprint = %{version}
Requires: glibc-devel
@@ -415,6 +416,7 @@
%patch20 -p0 -b .bbox
%patch21 -p1 -b .echogs
#%patch22 -p0 -b .cjk
+%patch23 -p0 -b .cos_type
%patch0 -p0

%build
@@ -1309,6 +1311,10 @@
%endif

%changelog
+* Tue Jul 29 2008 werner@xxxxxxx
+- Fix crash in bjc driver (bnc#412523)
+* Thu Jul 24 2008 werner@xxxxxxx
+- Fix crash on null pointer reference (bnc#409605)
* Mon Apr 07 2008 werner@xxxxxxx
- Be sure the disabling of Font API works even without the driver
* Wed Apr 02 2008 werner@xxxxxxx









++++++ ghostscript-8.61-bjc.dif -> ghostscript-8.62-bjc.dif ++++++
--- ghostscript-library/ghostscript-8.61-bjc.dif 2008-02-21
14:48:57.000000000 +0100
+++ ghostscript-library/ghostscript-8.62-bjc.dif 2008-07-29
13:50:38.000000000 +0200
@@ -1,5 +1,5 @@
--- src/gdevbjc.h
-+++ src/gdevbjc.h 2007-08-03 00:00:00.000000000 +0200
++++ src/gdevbjc.h 2008-07-28 13:55:39.000000000 +0000
@@ -41,11 +41,11 @@
#define BJC_BJC600 "bjc600"
#define BJC_BJC800 "bjc800"
@@ -25,7 +25,7 @@
#define BJC_RESOLUTION_LOW (1 * BJC_RESOLUTION_BASE)
#define BJC_RESOLUTION_MEDIUM (2 * BJC_RESOLUTION_BASE)
--- src/gdevcdj.c
-+++ src/gdevcdj.c 2007-08-06 12:21:01.348790099 +0200
++++ src/gdevcdj.c 2008-07-29 11:47:54.000000000 +0000
@@ -152,17 +152,16 @@
{\
case 0:\
@@ -47,7 +47,7 @@
case 1:\
pa.data = 0; /* mark as not filled */\
}
-@@ -249,6 +248,7 @@ static int cdj_param_check_float(gs_par
+@@ -249,6 +248,7 @@ static int cdj_param_check_float(gs_para
/* Colour mapping procedures */
static dev_proc_map_cmyk_color (gdev_cmyk_map_cmyk_color);
static dev_proc_map_rgb_color (gdev_cmyk_map_rgb_color);
@@ -133,7 +133,7 @@
dj500c_print_page, 4, 2, 1);

gx_device_cdj far_data gs_cdj500_device =
-@@ -684,6 +647,17 @@ static int cdj_set_bpp(gx_device *, int
+@@ -684,6 +647,17 @@ static int cdj_set_bpp(gx_device *, int,
static void cdj_expand_line(word *, int, short, int, int);
static int bjc_fscmyk(byte**, byte*[4][4], int**, int, int);

@@ -159,7 +159,7 @@

/* Set up colour params if put_params has not already done so */
if (pdev->color_info.num_components == 0)
-@@ -807,22 +782,22 @@ hp_colour_open(gx_device *pdev, int ptyp
+@@ -807,35 +782,37 @@ hp_colour_open(gx_device *pdev, int ptyp
switch (gdev_pcl_paper_size(pdev)) {
case PAPER_SIZE_LEGAL:
case PAPER_SIZE_LETTER:
@@ -186,15 +186,17 @@
}
#endif

-@@ -830,12 +805,14 @@ hp_colour_open(gx_device *pdev, int ptyp
+- bjc->printLimit = m[3]; /* The real hardware limit. */
++ bjc->printLimit = bjm[3]; /* The real hardware limit. */

#ifdef BJC_DEFAULT_CENTEREDAREA
- if (m[3] < m[1]) {
+- if (m[3] < m[1]) {
- ((float *) m)[3] = m[1]; /* Top margin = bottom one. */
-+ ((float *) bjm)[3] = m[1]; /* Top margin = bottom one. */
++ if (bjm[3] < bjm[1]) {
++ ((float *) bjm)[3] = bjm[1]; /* Top margin = bottom one. */
} else {
- ((float *) m)[1] = m[3]; /* Bottom margin = top one. */
-+ ((float *) bjm)[1] = m[3]; /* Bottom margin = top one. */
++ ((float *) bjm)[1] = bjm[3]; /* Bottom margin = top one. */
}
#endif


++++++ ghostscript-8.62-cos_type.dif ++++++
--- src/gdevpdfo.c
+++ src/gdevpdfo.c 2008-07-24 10:17:47.000000000 +0000
@@ -1069,11 +1069,12 @@ cos_dict_equal(const cos_object_t *pco0,
const cos_value_t *v = cos_dict_find(pcd1, pcde0->key.data,
pcde0->key.size);
int code;

+ if (v == NULL)
+ return false;
+
if (cos_type(v->contents.object) != cos_type_dict)
return false; /* Should _never_ happen */

- if (v == NULL)
- return false;
code = cos_value_equal(&pcde0->value, v, pdev);
if (code < 0)
return code;






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



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