Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit goffice
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 10 Aug 2007 00:06:48 +0200
  • Message-id: <20070809220648.752DD67832C@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package goffice
checked in at Fri Aug 10 00:06:48 CEST 2007.

--------
--- GNOME/goffice/goffice.changes       2007-08-08 00:42:37.000000000 +0200
+++ /mounts/work_src_done/STABLE/goffice/goffice.changes        2007-08-09 21:29:26.867611000 +0200
@@ -1,0 +2,5 @@
+Thu Aug  9 21:29:12 CEST 2007 - jpr@xxxxxxx
+
+- Fix array overflow (#287073)
+
+-------------------------------------------------------------------

New:
----
  goffice-array-overflow.patch

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

Other differences:
------------------
++++++ goffice.spec ++++++
--- /var/tmp/diff_new_pack.u29115/_old  2007-08-10 00:05:29.000000000 +0200
+++ /var/tmp/diff_new_pack.u29115/_new  2007-08-10 00:05:29.000000000 +0200
@@ -13,7 +13,7 @@
 Name:           goffice
 BuildRequires:  fdupes gtk-doc intltool libglade2-devel libgnomeprint-devel libgnomeui-devel libgsf-devel pcre-devel
 Version:        0.4.2
-Release:        4
+Release:        5
 URL:            http://www.gnumeric.org/
 Group:          System/GUI/GNOME
 License:        GPL v2 or later
@@ -21,6 +21,7 @@
 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.bz2
 Patch:          goffice-undeprecate.patch
 Patch1:         goffice-missing-headers.patch
+Patch2:         goffice-array-overflow.patch
 Autoreqprov:    on
 Requires:       %{name}-lang = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -77,6 +78,7 @@
 %setup
 %patch
 %patch1
+%patch2
 
 %build
 autoreconf -f -i
@@ -121,6 +123,8 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Thu Aug 09 2007 - jpr@xxxxxxx
+- Fix array overflow (#287073)
 * Wed Aug 08 2007 - maw@xxxxxxx
 - Use %%fdupes
 - Split off a -lang subpackage

++++++ goffice-array-overflow.patch ++++++
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 1767)
+++ ChangeLog   (revision 1768)
@@ -1,3 +1,8 @@
+2007-07-24  Morten Welinder  <terra@xxxxxxxxx>
+
+       * goffice/utils/go-line.c (go_line_interpolation_as_str): Don't
+       overrun line_interpolations array.
+
 2007-07-23  Jody Goldberg <jody@xxxxxxxxx>
 
        * configure.in : post release bump
Index: goffice/utils/go-line.c
===================================================================
--- goffice/utils/go-line.c     (revision 1767)
+++ goffice/utils/go-line.c     (revision 1768)
@@ -176,7 +176,7 @@
        unsigned i;
        char const *ret = "linear";
 
-       for (i = 0; i < GO_LINE_MAX; i++) {
+       for (i = 0; i < G_N_ELEMENTS (line_interpolations); i++) {
                if (line_interpolations[i].type == type) {
                        ret = line_interpolations[i].name;
                        break;

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



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