Added limit for component hierarchy depth.
Added limit for component hierarchy depth.

Otherwise the parser crashes due to stack overflow on an input like this:
BEGIN:X\r\n
BEGIN:X\r\n
BEGIN:X\r\n
BEGIN:X\r\n
...

LuboO/iCalendar-parser_PA193_Rteam