[Gnucash-changes] Mac OSX support fixes

Derek Atkins warlord at MIT.EDU
Wed Aug 17 09:00:27 EDT 2005


Is there some reason you backed out one of Christian's
changes here?

-derej

Neil Williams <codehelp at cvs.gnucash.org> writes:

> Index: hbci-interaction.c
> ===================================================================
> RCS file: /home/cvs/cvsroot/gnucash/src/import-export/hbci/hbci-interaction.c,v
> retrieving revision 1.16.4.17
> retrieving revision 1.16.4.18
> diff -Lsrc/import-export/hbci/hbci-interaction.c -Lsrc/import-export/hbci/hbci-interaction.c -u -r1.16.4.17 -r1.16.4.18
> --- src/import-export/hbci/hbci-interaction.c
> +++ src/import-export/hbci/hbci-interaction.c
> @@ -351,7 +351,7 @@
>  	break;
>      }
>      else {
> -      g_assert (maxLen > strlen(passwd));
> +      g_assert (maxLen > strlen(resultbuffer));
>        strcpy(resultbuffer, passwd);
>        g_free (memset (passwd, 0, strlen (passwd)));
>        g_free(title);
> @@ -418,7 +418,7 @@
>  	break;
>      }
>      else {
> -      g_assert (maxLen > strlen(passwd));
> +      g_assert (maxLen > strlen(resultbuffer));
>        strcpy(resultbuffer, passwd);
>  
>        g_free (memset (passwd, 0, strlen (passwd)));

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list