[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Fix for core dump while saving settings
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Fix for core dump while saving settings |
Date: |
Sun, 17 Aug 2003 09:48:09 +0000 |
User-agent: |
Mutt/1.4.1i |
On Sun, Aug 17, 2003 at 10:53:53AM +0200, Jim Segrave wrote
>
> CommandSaveSettings() calls
>
> fputs( RenderPreferencesCommand( &rdAppearance, szTemp ), pf );
>
> But this generates a string over 1K long, ddestroying szTemp and
> crashing the program. I've done the hack thing of making szTemp 4K,
> but this needs to be fixed correctly.
If we decide to "allow" the use of glib in the no-gui part then these
problems are easy to fix by using the g_strcat and g_strdup_printf
functions.
Jørn
pgpd6A39vCDWE.pgp
Description: PGP signature