Bug#309157: marked as done (gnome-applets: stickynotes applet loses data when drive is full)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 17 May 2005 03:03:12 -0700


Your message dated Tue, 17 May 2005 05:32:20 -0400
with message-id <E1DXyR2-0006bM-00@newraff.debian.org>
and subject line Bug#309157: fixed in gnome-applets 2.8.2-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 May 2005 00:48:07 +0000
>From robot101@debian.org Sat May 14 17:48:07 2005
Return-path: <robot101@debian.org>
Received: from ppsw-9.csi.cam.ac.uk [131.111.8.139] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DX7Ic-0003pX-00; Sat, 14 May 2005 17:48:07 -0700
X-Cam-SpamDetails: Not scanned
X-Cam-AntiVirus: No virus found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from quadrant.corpus.cam.ac.uk ([131.111.235.202]:33701 helo=alpha.mcnet)
	by ppsw-9.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25)
	with esmtp id 1DX7IZ-0002Nz-TB (Exim 4.51)
	(return-path <robot101@debian.org>); Sun, 15 May 2005 01:48:03 +0100
Received: by alpha.mcnet (Postfix, from userid 1000)
	id 3548E302F445; Sun, 15 May 2005 01:48:02 +0100 (BST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Robert McQueen <robot101@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnome-applets: stickynotes applet loses data when drive is full
X-Mailer: reportbug 3.11
Date: Sun, 15 May 2005 01:48:01 +0100
Message-Id: <20050515004802.3548E302F445@alpha.mcnet>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: gnome-applets
Version: 2.8.2-1
Severity: grave
Justification: causes non-serious data loss

In the stickynotes_save() function in stickynotes/stickynotes.c, the
xmlSaveFormatFile function is called without checking its return value.
As detailed in http://xmlsoft.org/html/libxml-tree.html#xmlSaveFormatFile,
this function returns -1 if writing the file was unsuccessful. It
should write the new file out to a temporary file alongside the existing
one, and if and only if this was successful, rename() it to the actual
name. Otherwise if the writing fails, the notes file can be truncated and 
the old copy of the notes are lost as well as the changes being written.
I've just lost my todo list sticky note...

Regards,
Rob

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-alpha2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gnome-applets depends on:
ii  gnome-applets-data   2.8.2-1             Various applets for GNOME 2 panel 
ii  gnome-panel          2.8.3-1             launcher and docking facility for 
ii  gstreamer0.8-alsa [g 0.8.8-3             ALSA plugin for GStreamer
ii  gstreamer0.8-esd [gs 0.8.8-3             Enlightened Sound Daemon plugin fo
ii  gstreamer0.8-oss [gs 0.8.8-3             OSS plugin for GStreamer
ii  libapm1              3.2.2-3             Library for interacting with APM d
ii  libart-2.0-2         2.3.17-1            Library of functions for 2D graphi
ii  libatk1.0-0          1.8.0-4             The ATK accessibility toolkit
ii  libbonobo2-0         2.8.1-2             Bonobo CORBA interfaces library
ii  libbonoboui2-0       2.8.1-2             The Bonobo UI library
ii  libc6                2.3.5-1             GNU C Library: Shared libraries an
ii  libgail-common       1.8.4-1             GNOME Accessibility Implementation
ii  libgail17            1.8.4-1             GNOME Accessibility Implementation
ii  libgconf2-4          2.8.1-5             GNOME configuration database syste
ii  libgcrypt11          1.2.0-11            LGPL Crypto library - runtime libr
ii  libglade2-0          1:2.4.2-2           library to load .glade files at ru
ii  libglib2.0-0         2.6.4-1             The GLib library of C routines
ii  libgnome2-0          2.8.1-2             The GNOME 2 library - runtime file
ii  libgnomecanvas2-0    2.8.0-1             A powerful object-oriented display
ii  libgnomeui-0         2.8.1-3             The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0       2.8.4-3             The GNOME virtual file-system libr
ii  libgnutls11          1.0.16-13           GNU TLS library - runtime library
ii  libgstreamer-plugins 0.8.8-3             Various GStreamer libraries and li
ii  libgstreamer0.8-0    0.8.9-2             Core GStreamer libraries, plugins,
ii  libgtk2.0-0          2.6.4-1             The GTK+ graphical user interface 
ii  libgtop2-2           2.6.0-4             Libraries for gtop system monitori
ii  libice6              4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii  liborbit2            1:2.12.2-1          libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0   2.8.3-1             library for GNOME 2 panel applets
ii  libpango1.0-0        1.8.1-1             Layout and rendering of internatio
ii  libpopt0             1.7-5               lib for parsing cmdline parameters
ii  libsm6               4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libx11-6             6.8.2-10            X Window System protocol client li
ii  libxklavier8         1.03-1              X Keyboard Extension high-level AP
ii  libxml2              2.6.16-7            GNOME XML library
ii  xlibs                4.3.0.dfsg.1-12     X Keyboard Extension (XKB) configu
ii  zlib1g               1:1.2.2-4           compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 309157-close) by bugs.debian.org; 17 May 2005 09:46:16 +0000
>From katie@ftp-master.debian.org Tue May 17 02:46:16 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DXyeW-00052a-00; Tue, 17 May 2005 02:46:16 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DXyR2-0006bM-00; Tue, 17 May 2005 05:32:20 -0400
From: =?utf-8?b?TWFyYyBEZXF1w6huZXMgKER1Y2sp?= <Duck@DuckCorp.org>
To: 309157-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#309157: fixed in gnome-applets 2.8.2-2
Message-Id: <E1DXyR2-0006bM-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 17 May 2005 05:32:20 -0400
Delivered-To: 309157-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: gnome-applets
Source-Version: 2.8.2-2

We believe that the bug you reported is fixed in the latest version of
gnome-applets, which is due to be installed in the Debian FTP archive:

gnome-applets-data_2.8.2-2_all.deb
  to pool/main/g/gnome-applets/gnome-applets-data_2.8.2-2_all.deb
gnome-applets-dev_2.8.2-2_i386.deb
  to pool/main/g/gnome-applets/gnome-applets-dev_2.8.2-2_i386.deb
gnome-applets_2.8.2-2.diff.gz
  to pool/main/g/gnome-applets/gnome-applets_2.8.2-2.diff.gz
gnome-applets_2.8.2-2.dsc
  to pool/main/g/gnome-applets/gnome-applets_2.8.2-2.dsc
gnome-applets_2.8.2-2_i386.deb
  to pool/main/g/gnome-applets/gnome-applets_2.8.2-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 309157@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Dequènes (Duck) <Duck@DuckCorp.org> (supplier of updated gnome-applets package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 16 May 2005 22:20:11 +0200
Source: gnome-applets
Binary: gnome-applets-data gnome-applets gnome-applets-dev
Architecture: source i386 all
Version: 2.8.2-2
Distribution: unstable
Urgency: high
Maintainer: Marc Dequènes (Duck) <Duck@DuckCorp.org>
Changed-By: Marc Dequènes (Duck) <Duck@DuckCorp.org>
Description: 
 gnome-applets - Various applets for GNOME 2 panel - binaries files
 gnome-applets-data - Various applets for GNOME 2 panel - data files
 gnome-applets-dev - Various applets for GNOME 2 panel - development files
Closes: 309157 309341
Changes: 
 gnome-applets (2.8.2-2) unstable; urgency=high
 .
   * Fix Woody to Sarge transition breakage : (Closes: #309341)
     - remove circular dependency between gnome-applets and
       gnome-applets-data.
     - move postinst actions (install default mc macros) to
       gnome-applets.
   * Added a stickynotes patch from Robert McQueen allowing a graceful
     save failure if an I/O error occurs, thus avoiding data loss
     (Closes: #309157).
Files: 
 de657702c885898c833c4375b9e9d8a9 2085 gnome optional gnome-applets_2.8.2-2.dsc
 19f1b216a312a413ec60c60b1de9cebd 194789 gnome optional gnome-applets_2.8.2-2.diff.gz
 c725393d41c3b2dff8ee7cbaeefee75b 6136174 gnome optional gnome-applets-data_2.8.2-2_all.deb
 fea4f4adb42514c2afcd10297e02b312 468672 gnome optional gnome-applets_2.8.2-2_i386.deb
 5bbc84ef7b4391039f19430c2dd0b72d 76388 gnome optional gnome-applets-dev_2.8.2-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCibNtQxo87aLX0pIRAllTAJ4xRdfoN3LAPj1h6rDb7DLQQey9XwCfdIFr
E9YoqbUT97a5GViJ50SZuKE=
=k/Gh
-----END PGP SIGNATURE-----