[Gnucash-changes] Bugfix for HBCI PIN entry.

Christian Stimming cstim at cvs.gnucash.org
Tue Aug 16 15:51:12 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-1-8-branch

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.1461.2.417
retrieving revision 1.1461.2.418
diff -LChangeLog -LChangeLog -u -r1.1461.2.417 -r1.1461.2.418
--- 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.16.2.22
retrieving revision 1.16.2.23
diff -Lsrc/import-export/hbci/hbci-interaction.c -Lsrc/import-export/hbci/hbci-interaction.c -u -r1.16.2.22 -r1.16.2.23
--- 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