Bugfix for HBCI PIN entry.

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

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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11269 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2005-08-16 19:53:50 +00:00
parent 22357f89d3
commit ba19a141b2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-08-16 Christian Stimming <stimming@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@employees.org>
* src/engine/Query.c: Todd T. Fries patch for compilation on

View File

@ -418,7 +418,7 @@ static int getTanCB(AB_BANKING *ab,
break;
}
else {
g_assert (maxLen > strlen(resultbuffer));
g_assert (maxLen > strlen(passwd));
strcpy(resultbuffer, passwd);
g_free (memset (passwd, 0, strlen (passwd)));