[Gnucash-changes] Bugfix for HBCI PIN entry.

Christian Stimming cstim at cvs.gnucash.org
Tue Aug 16 15:55:38 EDT 2005


Log Message:
-----------
Bugfix for HBCI PIN entry.

2005-08-16  Christian Stimming  <stimming at tuhh.de>

	* src/import-export/hbci/hbci-interaction.c (inputBoxCB): Aaarg,
	fix extremely stupid bug that occasionally crashes the PIN entry.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/import-export/hbci:
        hbci-interaction.c

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.264
retrieving revision 1.1487.2.265
diff -LChangeLog -LChangeLog -u -r1.1487.2.264 -r1.1487.2.265
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,8 @@
+2005-08-16  Christian Stimming  <stimming at tuhh.de>
+
+	* src/import-export/hbci/hbci-interaction.c (inputBoxCB): Aaarg,
+	fix extremely stupid bug that occasionally crashes the PIN entry.
+
 2005-08-15  David Hampton  <hampton at employees.org>
 
 	* src/backend/file/test/test-xml-transaction.c:
Index: hbci-interaction.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/hbci/hbci-interaction.c,v
retrieving revision 1.16.4.15
retrieving revision 1.16.4.16
diff -Lsrc/import-export/hbci/hbci-interaction.c -Lsrc/import-export/hbci/hbci-interaction.c -u -r1.16.4.15 -r1.16.4.16
--- src/import-export/hbci/hbci-interaction.c
+++ src/import-export/hbci/hbci-interaction.c
@@ -351,7 +351,7 @@
 	break;
     }
     else {
-      g_assert (maxLen > strlen(resultbuffer));
+      g_assert (maxLen > strlen(passwd));
       strcpy(resultbuffer, passwd);
       g_free (memset (passwd, 0, strlen (passwd)));
       g_free(title);


More information about the gnucash-changes mailing list