jkbrzt / rrule

JavaScript library for working with recurrence rules for calendar dates as defined in the iCalendar RFC and more.
https://jkbrzt.github.io/rrule
Other
3.27k stars 507 forks source link

Infinite loops in iter when interval < 0 #568

Open otsab19 opened 1 year ago

otsab19 commented 1 year ago

The issue can be reproduced by creating a rrule with an interval less than 0 or null , and then calling after, between, before.

Some parsing bug gave this Rrule : DTSTART:20230201T070000Z RRULE:FREQ=DAILY;INTERVAL=.007;COUNT=10 which goes on recursion.

Dschoordsch commented 2 months ago

Duplicate of #481