Package: gnome-pilot
Version: 2.0.15-0.1
Severity: important
Tags: patch

The gnome-pilot file conduit cannot be safely used on amd64 due to an
upstream pointer-size bug (GNOME Bugzilla#410666).  If one attempts it,
the entire gnome-pilot setup for that user will crash on sync until the
file is manually removed from the install queue (an undocumented
procedure, but to be fair the file conduit itself is undocumented also).

I'm attaching a one-line patch that fixes the bug -- also sent upstream,
but since we're close to the Etch release, please consider including it
if anyone NMUs this package.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gnome-pilot depends on:
ii  gconf2                     2.16.0-3      GNOME configuration database syste
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.4-2      The ATK accessibility toolkit
ii  libbonobo2-0               2.14.0-3      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.14.0-5      The Bonobo UI library
ii  libc6                      2.3.6.ds1-12  GNU C Library: Shared libraries
ii  libcairo2                  1.2.4-4       The Cairo 2D vector graphics libra
ii  libdbus-1-3                1.0.2-1       simple interprocess messaging syst
ii  libdbus-glib-1-2           0.71-3        simple interprocess messaging syst
ii  libfontconfig1             2.4.2-1       generic font configuration library
ii  libgconf2-4                2.16.0-3      GNOME configuration database syste
ii  libglade2-0                1:2.6.0-4     library to load .glade files at ru
ii  libglib2.0-0               2.12.6-2      The GLib library of C routines
ii  libgnome-keyring0          0.6.0-3       GNOME keyring services library
ii  libgnome-pilot2            2.0.15-0.1    Support libraries for gnome-pilot
ii  libgnome2-0                2.16.0-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomeui-0               2.14.1-2+b1   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.14.2-6    GNOME virtual file-system (runtime
ii  libgtk2.0-0                2.8.20-5      The GTK+ graphical user interface 
ii  libhal1                    0.5.8.1-6.1   Hardware Abstraction Layer - share
ii  libice6                    1:1.0.1-2     X11 Inter-Client Exchange library
ii  liborbit2                  1:2.14.4-1    libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.14.3-4      library for GNOME 2 panel applets
ii  libpango1.0-0              1.14.8-5      Layout and rendering of internatio
ii  libpisock9                 0.12.2-4      library for communicating with a P
ii  libpisync0                 0.12.2-4      synchronization library for PalmOS
ii  libpopt0                   1.10-3        lib for parsing cmdline parameters
ii  libsm6                     1:1.0.1-3     X11 Session Management library
ii  libx11-6                   2:1.0.3-5     X11 client-side library
ii  libxcursor1                1.1.7-4       X cursor management library
ii  libxext6                   1:1.0.1-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.1-5     X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.1-4     X11 Input extension library
ii  libxinerama1               1:1.0.1-4.1   X11 Xinerama extension library
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-5   X11 RandR extension library
ii  libxrender1                1:0.9.1-3     X Rendering Extension client libra

Versions of packages gnome-pilot recommends:
ii  gnome-pilot-conduits          2.0.15-0.1 conduits for gnome-pilot

-- no debconf information
--- gnome-pilot-2.0.15/conduits/file/file_conduit.c	2006-04-20 14:12:25.000000000 -0700
+++ gnome-pilot-2.0.15.file-conduit-fix/conduits/file/file_conduit.c	2007-02-21 20:25:02.000000000 -0800
@@ -101,21 +101,21 @@
 gnome_real_pilot_conduit_file_install_db (GnomePilotConduitFile *conduit,
 					  int psock,
 					  gchar *src_file,
 					  gboolean rm,
 					  gpointer unused)
 {
 	int index = 0;
 	int keep_reading = 1;
 	int wrote;
 	void *buffer;
-	int buffer_len;
+	size_t buffer_len;
 	int err;
 	int handle;
 	PilotRecord remote;
 	int entries;
 	struct DBInfo dbi;	
 	struct pi_file *file;
 	int result = 0;
 	int reset = 0;
 	int version;
 	gboolean free_appblock = FALSE;

Reply via email to