Your message dated Sat, 02 Aug 2008 18:47:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#492711: fixed in gnucash 2.2.6-1
has caused the Debian Bug report #492711,
regarding Crash when not starting the AqBanking Setup Wizard from the Online 
Banking druid
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
492711: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492711
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gnucash
Version: 2.2.4-2
Severity: serious
Justification: Might cause data loss
Tags: fixed-upstream patch

Hi Thomas,

on the Gnucash development mailing list Martin Preuß [1]reported a
crash which might occur if you do not start AqBanking's setup wizard
from within the Online Banking Setup druid. If some data were changed or
entered prior to the crash those changes/data would be lost by this
crash (hence severity serious).

1.
http://www.nabble.com/Re%3A-ofxdirectconnect-in-aqbanking3-branch-p18553656.html

The fix has been announced here: [2] which made its way into upstream
SVN in changeset [3]17370, which has been released with Gnucash 2.2.6
recently. I've extracted the changeset and attached it to this mail as a
patch. You should be able to apply this patch on top of the unpackaged
(thus already patched) source package of gnucash 2.2.4-2 using the
command "patch -p0 < /path/to/aqb_druid_crash.patch".

2.
http://www.nabble.com/Re%3A-ofxdirectconnect-in-aqbanking3-branch-p18564507.html
3. http://svn.gnucash.org/trac/changeset/17370

It would be very helpful if this patch finds its way into the release of
Debian Lenny.

Regards
  Micha



Index: src/core-utils/gnc-glib-utils.c
===================================================================
--- src/core-utils/gnc-glib-utils.c	(Revision 17369)
+++ src/core-utils/gnc-glib-utils.c	(Revision 17370)
@@ -186,6 +186,8 @@
   gchar *end;
   gint len;
 
+  g_return_if_fail(str);
+
   if (gnc_utf8_validate(str, -1, (const gchar **)&end))
     return;
 
Index: src/import-export/aqbanking/druid-ab-initial.c
===================================================================
--- src/import-export/aqbanking/druid-ab-initial.c	(Revision 17369)
+++ src/import-export/aqbanking/druid-ab-initial.c	(Revision 17370)
@@ -474,11 +474,12 @@
 {
     gchar *bankname;
     gchar *result;
-    const char *bankcode;
+    const char *ab_bankname, *bankcode;
 
     g_return_val_if_fail(ab_acc, NULL);
 
-    bankname = gnc_utf8_strip_invalid_strdup(AB_Account_GetBankName(ab_acc));
+    ab_bankname = AB_Account_GetBankName(ab_acc);
+    bankname = ab_bankname ? gnc_utf8_strip_invalid_strdup(ab_bankname) : NULL;
     bankcode = AB_Account_GetBankCode(ab_acc);
 
     /* Translators: Strings are 1. Account code, 2. Bank name, 3. Bank code. */

--- End Message ---
--- Begin Message ---
Source: gnucash
Source-Version: 2.2.6-1

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

gnucash-common_2.2.6-1_all.deb
  to pool/main/g/gnucash/gnucash-common_2.2.6-1_all.deb
gnucash_2.2.6-1.diff.gz
  to pool/main/g/gnucash/gnucash_2.2.6-1.diff.gz
gnucash_2.2.6-1.dsc
  to pool/main/g/gnucash/gnucash_2.2.6-1.dsc
gnucash_2.2.6-1_i386.deb
  to pool/main/g/gnucash/gnucash_2.2.6-1_i386.deb
gnucash_2.2.6.orig.tar.gz
  to pool/main/g/gnucash/gnucash_2.2.6.orig.tar.gz



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Bushnell, BSG <[EMAIL PROTECTED]> (supplier of updated gnucash 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 [EMAIL PROTECTED])


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

Format: 1.8
Date: Sat, 02 Aug 2008 11:04:24 -0700
Source: gnucash
Binary: gnucash gnucash-common
Architecture: source all i386
Version: 2.2.6-1
Distribution: unstable
Urgency: low
Maintainer: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Changed-By: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Description: 
 gnucash    - A personal finance tracking program
 gnucash-common - A personal finance tracking program
Closes: 473657 481290 491843 492705 492706 492707 492708 492711 492799
Changes: 
 gnucash (2.2.6-1) unstable; urgency=low
 .
   * New upstream release.  (Closes: #492706, #492711, #492705, #492707,
     #492708, #491843, #473657, #481290).
   * debian/rules (configure): Add --enable-python-bindings and
     --enable-locale-specific-tax.
   * debian/control (Build-Depends): Remove build dependencies no longer
     needed (libltd3-dev, liborbit-dev, libungif4-dev), or which are
     indirect (libjpeg62-dev, libbonobo2-dev, libgnomevfs2-dev,
     libgnomevfs2-extra, imagemagick, libart-2.0-dev).
 .
   * src/import-export/aqbanking/gnc-ab-utils.c (gnc_ab_get_remote_name):
     Actually get remote name, not purpose.  Patch thanks to Micha Lenk.
     (Closes: #492799).
Checksums-Sha1: 
 5e55e515fad29391bacc6c8b7df63da301d2fc0f 1495 gnucash_2.2.6-1.dsc
 fca2d450af63dfc151b042850ac5dbad1cbbddcb 10103311 gnucash_2.2.6.orig.tar.gz
 63b6943e881366c2b8b55cf874f5cf53efe69bfd 18573 gnucash_2.2.6-1.diff.gz
 317e62094af4f249a7e8d5bfe8ca6f2a8337daa0 4611422 gnucash-common_2.2.6-1_all.deb
 57268eaebcb1b09ca9912a89208310319d92e51f 1841480 gnucash_2.2.6-1_i386.deb
Checksums-Sha256: 
 3d3ae578c2d350660a9e68a9eac0f67425f8f23652b00436bfa5247c3201e6a8 1495 
gnucash_2.2.6-1.dsc
 27ad68a3ecbb08df70610ed7b09ecbb4d088b03d31ff0fe7a4da9c437806b758 10103311 
gnucash_2.2.6.orig.tar.gz
 17c431df8e23ab16324aacbdec47f98732eaef2b059ecddfd2ed2cd851292221 18573 
gnucash_2.2.6-1.diff.gz
 f47e12b3776dbedd515bf4c353dcf77eeff7cbb2b1045aed011e8046be1ba136 4611422 
gnucash-common_2.2.6-1_all.deb
 c0f4733cfb83c714783601679366628af202deb38b9f3216df1e799bd80e88be 1841480 
gnucash_2.2.6-1_i386.deb
Files: 
 f8bf0cc41a0b24a9f5574fe29b51bce1 1495 gnome optional gnucash_2.2.6-1.dsc
 7ac08c5e2076c9b4d44c785d21bc1a2f 10103311 gnome optional 
gnucash_2.2.6.orig.tar.gz
 80e3b742d4c771163abb72ec8edd6f83 18573 gnome optional gnucash_2.2.6-1.diff.gz
 2710d579a043b1d4f7c22637951b28b6 4611422 gnome optional 
gnucash-common_2.2.6-1_all.deb
 85ce17f262274e912e59cd21e3d720c2 1841480 gnome optional 
gnucash_2.2.6-1_i386.deb

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

iEYEARECAAYFAkiUqFEACgkQqMsB9b6fcOr09QCdHPtCoo/AXkGjVnkYcm0eqxwV
nmMAn3n5NHvLMwfc2vTuUiYVZgMDNcVU
=1of0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to