Re: Patch: avoid doublefree of imap_store->namespace
- From: Philip Van Hoof <spam pvanhoof be>
- To: José Dapena Paz <jdapena igalia com>
- Cc: tinymail-devel-list <tinymail-devel-list gnome org>
- Subject: Re: Patch: avoid doublefree of imap_store->namespace
- Date: Wed, 28 Jan 2009 10:58:59 +0100
Approved
On Wed, 2009-01-28 at 10:39 +0100, José Dapena Paz wrote:
> Hi,
>
> This patch avoids a double space that could happen sometimes, as we're
> doing g_free on namespace free when this could be just a reference copy
> of imap_store->namespace->prefix. This can cause sometimes crashes,
> specially on copy/move/rename operations.
>
> Changelog entry:
> * libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c:
> imap_store->namespace should always own a copy of the string, to
> avoid some double frees causing crashes
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
--
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
http://pvanhoof.be/blog
http://codeminded.be
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]