[Evolution] Bug#358590: crash in e_cal_backend_http_get_object exposed by new glib/pango

Heikki Henriksen heikkih at gmail.com
Thu Mar 23 12:11:39 UTC 2006


Package: evolution-data-server
Version: 1.4.2.1-1
Severity: grave
Tags: patch

The introduction of libglib 2.10 and libpango 1.12 exposed a number of
bugs in misc packages this week.

One of these was in the http-backend of e-cal. This was fixed upstream in
http://cvs.gnome.org/viewcvs/evolution-data-server/calendar/backends/http/e-cal-backend-http.c?r1=1.43&r2=1.44

I'm attaching the patch backported to eds 1.4.2.

I hope this can be uploaded to the archive as soon as possible (in the
wait for evo2.6) :)

Cheers,
 Heikki

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (401, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages evolution-data-server depends on:
ii  libbonobo2-0  2.14.0-1                   Bonobo CORBA interfaces library
ii  libc6         2.3.6-4                    GNU C Library: Shared libraries an
ii  libcamel1.2-6 1.4.2.1-1                  The Evolution MIME message handlin
ii  libcomerr2    1.38+1.39-WIP-2005.12.31-1 common error description library
ii  libdb4.2      4.2.52-24                  Berkeley v4.2 Database Libraries [
ii  libebook1.2-5 1.4.2.1-1                  Client library for evolution addre
ii  libecal1.2-3  1.4.2.1-1                  Client library for evolution calen
ii  libedata-book 1.4.2.1-1                  Backend library for evolution addr
ii  libedata-cal1 1.4.2.1-1                  Backend library for evolution cale
ii  libedataserve 1.4.2.1-1                  Utility library for evolution data
ii  libegroupwise 1.4.2.1-1                  Client library for accessing group
ii  libgconf2-4   2.14.0-1                   GNOME configuration database syste
ii  libglib2.0-0  2.10.1-2                   The GLib library of C routines
ii  libgnome2-0   2.14.0-1                   The GNOME 2 library - runtime file
ii  libgnomevfs2- 2.14.0-1                   GNOME virtual file-system (runtime
ii  libgnutls11   1.0.16-14                  GNU TLS library - runtime library
ii  libkrb53      1.4.3-6                    MIT Kerberos runtime libraries
ii  libldap2      2.1.30-13                  OpenLDAP libraries
ii  liborbit2     1:2.14.0-1                 libraries for ORBit2 - a CORBA ORB
ii  libpopt0      1.7-5                      lib for parsing cmdline parameters
ii  libsoup2.2-8  2.2.91-1                   an HTTP library implementation in 
ii  libxml2       2.6.23.dfsg.2-3            GNOME XML library
ii  zlib1g        1:1.2.3-11                 compression library - runtime

Versions of packages evolution-data-server recommends:
ii  evolution                    2.4.2.1-1.1 The groupware suite

-- no debconf information
-------------- next part --------------
diff -ru evolution-data-server-1.4.2.1.org/calendar/backends/http/e-cal-backend-http.c evolution-data-server-1.4.2.1/calendar/backends/http/e-cal-backend-http.c
--- evolution-data-server-1.4.2.1.org/calendar/backends/http/e-cal-backend-http.c	2005-11-29 03:03:42.000000000 +0000
+++ evolution-data-server-1.4.2.1/calendar/backends/http/e-cal-backend-http.c	2006-03-23 11:39:52.000000000 +0000
@@ -626,7 +626,7 @@
 {
 	ECalBackendHttp *cbhttp;
 	ECalBackendHttpPrivate *priv;
-	ECalComponent *comp;
+	ECalComponent *comp = NULL;
 
 	cbhttp = E_CAL_BACKEND_HTTP (backend);
 	priv = cbhttp->priv;
@@ -641,7 +641,7 @@
 		return GNOME_Evolution_Calendar_ObjectNotFound;
 
 	*object = e_cal_component_get_as_string (comp);
-	g_free (comp);
+	g_object_unref (comp);
 
 	return GNOME_Evolution_Calendar_Success;
 }


More information about the Pkg-evolution-maintainers mailing list