Re: Patch: avoid doublefree of imap_store->namespace


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
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]