[Gnucash-changes] Bugfix for HBCI PIN entry.

Christian Stimming cstim at cvs.gnucash.org
Tue Aug 16 15:53:53 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.

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.1912
retrieving revision 1.1913
diff -LChangeLog -LChangeLog -u -r1.1912 -r1.1913
--- 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/engine/Query.c: Todd T. Fries patch for compilation on
Index: hbci-interaction.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/hbci/hbci-interaction.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -Lsrc/import-export/hbci/hbci-interaction.c -Lsrc/import-export/hbci/hbci-interaction.c -u -r1.54 -r1.55
--- src/import-export/hbci/hbci-interaction.c
+++ src/import-export/hbci/hbci-interaction.c
@@ -418,7 +418,7 @@
 	break;
     }
     else {
-      g_assert (maxLen > strlen(resultbuffer));
+      g_assert (maxLen > strlen(passwd));
       strcpy(resultbuffer, passwd);
 
       g_free (memset (passwd, 0, strlen (passwd)));


More information about the gnucash-changes mailing list