#41 Avoid crash when encountering empty DURATION

closed
nobody
None
5
2012-11-09
2012-11-07
Kent
No

libical crashes when encountering an empty DURATION property and compiled with empty property replacement disabled. The following event came from a user's subscribed calendar:

BEGIN:VEVENT
DESCRIPTION:Test
DURATION:
DTSTAMP:20121029T164529Z
DTSTART;VALUE=DATE:20121104
SEQUENCE:0
SUMMARY:Test
UID:b4f97ef9-103d-41e0-9903-d30c6e7b84b9
END:VEVENT

Apple and a couple other implementations I checked handle this fine, so I'm copying their behavior.

Discussion

  • Kent

    Kent - 2012-11-07
     
  • Allen Winter

    Allen Winter - 2012-11-09

    committed in r1135
    thanks!

     
  • Allen Winter

    Allen Winter - 2012-11-09
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks