Re: [evolution-patches] fix for the bug #314925 [calendar]



On Wed, 2005-09-28 at 16:13 +0530, chen wrote:

> * libecal/e-cal-component.c: 
> +       (set_attendee_list): Free the old attendee list after
> +       adding the new attendees.
This is a wrong fix. The API expects you to set a new list of attendees.
The memory corruption happens because the caller attempts to modify the
existing list and send it back through the call.
[This case justifies, however, the need for a client API to modify
properties/parameters to save them overheads].

-Harish




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