diff --git a/src/import-export/hbci/hbci-interaction.c b/src/import-export/hbci/hbci-interaction.c index e75a28aed8..c2fc6d2ff2 100644 --- a/src/import-export/hbci/hbci-interaction.c +++ b/src/import-export/hbci/hbci-interaction.c @@ -351,7 +351,7 @@ static int inputBoxCB(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))); g_free(title);