[sylpheed:31092] Re: Trouble parsing attachments

Colin Leroy colin at colino.net
Wed Apr 4 15:53:26 JST 2007


On Wed, 4 Apr 2007 15:49:36 +0900 04 Apr 2007 at 15h04, Hiroyuki
Yamamoto wrote:

Hi, 

> Hmm, maybe 256 is too big since the function is using recursive call,
> and it allocates 8KB buffer on the stack for each call.

-gchar buf[8192];
+gchar *buf = g_malloc(8192);
...
+g_free(buf);

;)

-- 
Colin


More information about the Sylpheed mailing list