diff --git a/ChangeLog b/ChangeLog index 3f852e5d96..9081c967a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-16 Christian Stimming + + * src/import-export/hbci/hbci-interaction.c (inputBoxCB): Aaarg, + fix extremely stupid bug that occasionally crashes the PIN entry. + 2005-08-15 David Hampton * src/engine/Query.c: Todd T. Fries patch for compilation on diff --git a/src/import-export/hbci/hbci-interaction.c b/src/import-export/hbci/hbci-interaction.c index 2f2ea36ac0..e75a28aed8 100644 --- a/src/import-export/hbci/hbci-interaction.c +++ b/src/import-export/hbci/hbci-interaction.c @@ -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)));