[Freeassociation-devel] icalcomponent_as_ical_string

Philippe Roussel p.o.roussel at free.fr
Fri Sep 4 12:09:48 PDT 2009


On Fri, Sep 04, 2009 at 05:30:04PM +0200, Philippe Roussel wrote:
> [Wrong mailing list, try again...]
> 
> Hi all,
> 
> I'm having strange crashes in icalcomponent_as_ical_string (with 0.43
> and others).
> 
> My application is reading files with icalparser_parse_string and
> writing them with icalcomponent_as_ical_string. If I write the file
> just after parsing it everything works fine so it must be something I
> do with the icalcomponent.

Turns out it crashes because I passe a wrong value to
icalproperty_new_class, which doesn't validate its input.

So, what does icalcomponent_is_valid validate ?!

Philippe
-- 
Les cons ça ose tout. C'est même à ça qu'on les reconnaît. M. Audiard





More information about the libical-devel mailing list