[Freeassociation-devel] One simple event causing crash of the application

Milan Crha mcrha at redhat.com
Fri Mar 26 06:28:26 PDT 2010


	Hi,
OK, I have libical-0.43-5.fc12 (I guess it's getting this one, not the
latest svn I just compiled). Anyway, the attached test.c is what you are
looking for.

What I expect from it is that it'll return me a date which is set in
DTSTART when I call icalcomponent_get_dtstart, but it returns null time,
so Evolution generates recurrences from the beginning of the epoch, not
the time which has the DTSTART set. Changing DTSTART's VALUE to DATE or
DATE-TIME from its current "X", or even removing it completely makes it
behave properly.

Please not that I agree the VALUE=X cannot be there, as is mentioned in
the RFC I gave a link to in the bug report, but I'm asking for some fix
on a libical side to behave sanely on such kind of an error. Either add
there a parse error or something like that in this case, or be more
forgiving, rather than "pretending" the value is correct, even it isn't.

	Thanks and bye,
	Milan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 871 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libical-devel/attachments/20100326/705550d0/attachment.bin>


More information about the libical-devel mailing list